ObjectiveCMarshal Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
API to enable Objective-C marshalling.
public ref class ObjectiveCMarshal abstract sealed
[System.CLSCompliant(false)]
[System.Runtime.Versioning.SupportedOSPlatform("macos")]
public static class ObjectiveCMarshal
[<System.CLSCompliant(false)>]
[<System.Runtime.Versioning.SupportedOSPlatform("macos")>]
type ObjectiveCMarshal = class
Public Class ObjectiveCMarshal
- Inheritance
-
ObjectiveCMarshal
- Attributes
Methods
CreateReferenceTrackingHandle(Object, Span<IntPtr>) |
Request native reference tracking for the supplied object. |
Initialize(delegate* unmanaged<Void>, delegate* unmanaged<IntPtr, Int32>, delegate* unmanaged<IntPtr, Void>, ObjectiveCMarshal+UnhandledExceptionPropagationHandler) |
Initialize the Objective-C marshalling API. |
SetMessageSendCallback(ObjectiveCMarshal+MessageSendFunction, IntPtr) |
Set a function pointer override for an Objective-C runtime message passing export. |
SetMessageSendPendingException(Exception) |
Sets a pending exception to be thrown the next time the runtime is entered from an Objective-C msgSend P/Invoke. |