ObjCException Constructors
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.
Overloads
| Name | Description |
|---|---|
| ObjCException() |
Initializes a new instance of the ObjCException class with a default NSException. |
| ObjCException(NSException) |
Initializes a new instance of the ObjCException class wrapping the specified Objective-C exception. |
ObjCException()
Initializes a new instance of the ObjCException class with a default NSException.
public ObjCException();
Applies to
ObjCException(NSException)
Initializes a new instance of the ObjCException class wrapping the specified Objective-C exception.
public ObjCException(Foundation.NSException exc);
new ObjCRuntime.ObjCException : Foundation.NSException -> ObjCRuntime.ObjCException
Parameters
- exc
- NSException
The native NSException to wrap.