MarshalObjectiveCExceptionMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
-
MarshalObjectiveCExceptionMode
Fields
Name | Value | Description |
---|---|---|
Default | 0 | The default mode; this depends on the platform. |
UnwindManagedCode | 1 | Let the Objective-C runtime unwind managed frames. |
ThrowManagedException | 2 | Convert the Objective-C exception to a managed exception. |
Abort | 3 | Abort when an Objective-C exception reaches managed code. |
Disable | 4 | Disable marshalling Objective-C exceptions. |