Upravit

Sdílet prostřednictvím


NSErrorException Class

Definition

Exception that wraps an Objective-C NSError.

public class NSErrorException : Exception
type NSErrorException = class
    inherit Exception
Inheritance
NSErrorException

Remarks

The exception wraps an Objective-C NSError. These are created when using Async programming to set the Task's exception to the resulting error, they are not thrown by any APIs in MonoTouch.

Constructors

NSErrorException(NSError)

Creates an NSErrorException that encapsulates an NSError.

Properties

Code

The NSError.Code property

Domain

The NSError's Domain property.

Error

The underlying NSError that is being wrapped.

Message
UserInfo

The NSError's UserInfo.

Applies to