NSError.FromDomain Method
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
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
- System.System.IntPtr System.nativeint
Returns
Applies to
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
- System.System.IntPtr System.nativeint
Returns
- Attributes