Controls the marshaling behavior of a delegate signature passed as an unmanaged function pointer to or from unmanaged code. This class cannot be inherited.
The fields of the System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute attribute control various aspects of the transition of a delegate to an unmanaged function pointer, and are the same as the fields with identical names in the System.Runtime.InteropServices.DllImportAttribute attribute. These fields are optional, but if you do not specify a field name, System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute is ignored.
For more information about using attributes, see Extending Metadata Using Attributes.