Runtime.MarshalObjectiveCException Event
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.
Raised when an Objective-C exception is about to be marshalled into managed code, allowing the application to choose how the exception is handled.
public static event ObjCRuntime.MarshalObjectiveCExceptionHandler? MarshalObjectiveCException;
member this.MarshalObjectiveCException : ObjCRuntime.MarshalObjectiveCExceptionHandler
Event Type
Remarks
Handlers can inspect the native exception and set the marshalling mode on the event arguments to control whether a managed exception is thrown.