Language

Runtime.MarshalObjectiveCException Event

Definition

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.

Applies to