NSError.FromDomain Method

Definition

Overloads

FromDomain(NSString, nint)

Creates an NSError instance from a given domain and code.

FromDomain(NSString, nint, NSDictionary)

FromDomain(NSString, nint)

Creates an NSError instance from a given domain and code.

public static Foundation.NSError FromDomain (Foundation.NSString domain, nint code);
static member FromDomain : Foundation.NSString * nint -> Foundation.NSError

Parameters

domain
NSString
code
nint

Returns

FromDomain(NSString, nint, NSDictionary)

[Foundation.Export("errorWithDomain:code:userInfo:")]
public static Foundation.NSError FromDomain (Foundation.NSString domain, nint code, Foundation.NSDictionary userInfo);
static member FromDomain : Foundation.NSString * nint * Foundation.NSDictionary -> Foundation.NSError

Parameters

domain
NSString
code
nint
userInfo
NSDictionary

To be added.

This parameter can be null.

Returns

Attributes

Applies to