MarshalManagedExceptionMode MarshalManagedExceptionMode Enum

Definition

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 = 
Inheritance
MarshalManagedExceptionModeMarshalManagedExceptionMode

Fields

Abort Abort 3

Abort when a managed exception reaches native code.

Default Default 0

The default mode; this depends on the platform.

Disable Disable 4

Disable marshalling managed exceptions.

ThrowObjectiveCException ThrowObjectiveCException 2

Convert the managed exception to an Objective-C exception.

UnwindNativeCode UnwindNativeCode 1

Let the mono runtime unwind native frames.

Applies to

See also