Edit

Share via


ObjectiveCMarshal Class

Definition

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.

Applies to