MarshalManagedExceptionMode Enum


This enum is used to specify what to do when an managed exception is thrown, and that exception reaches native code.

public enum MarshalManagedExceptionMode
type MarshalManagedExceptionMode = 


Abort 3

Abort when a managed exception reaches native code.

Default 0

The default mode; this depends on the platform.

Disable 4

Disable marshalling managed exceptions.

ThrowObjectiveCException 2

Convert the managed exception to an Objective-C exception.

UnwindNativeCode 1

Let the mono runtime unwind native frames.

Applies to

See also