Language

Runtime.MarshalManagedException Event

Definition

Raised when a managed exception is about to be marshalled into an Objective-C exception, allowing the application to choose how the exception is handled.

public static event ObjCRuntime.MarshalManagedExceptionHandler? MarshalManagedException;
member this.MarshalManagedException : ObjCRuntime.MarshalManagedExceptionHandler 

Event Type

Remarks

Handlers can inspect the managed exception and set the marshalling mode on the event arguments to control how the exception is surfaced to native code.

Applies to