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. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for