MarshalObjectiveCExceptionMode MarshalObjectiveCExceptionMode Enum

Definition

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

public enum MarshalObjectiveCExceptionMode
type MarshalObjectiveCExceptionMode = 
Inheritance
MarshalObjectiveCExceptionModeMarshalObjectiveCExceptionMode

Fields

Abort Abort 3

Abort when an Objective-C exception reaches managed code.

Default Default 0

The default mode; this depends on the platform.

Disable Disable 4

Disable marshalling Objective-C exceptions.

ThrowManagedException ThrowManagedException 2

Convert the Objective-C exception to a managed exception.

UnwindManagedCode UnwindManagedCode 1

Let the Objective-C runtime unwind managed frames.

Applies to

See also