Condividi tramite


NSError.FromDomain Metodo

Definizione

Overload

FromDomain(NSString, nint)

Crea un'istanza NSError da un determinato dominio e codice.

FromDomain(NSString, nint, NSDictionary)

FromDomain(NSString, nint)

Crea un'istanza NSError da un determinato dominio e codice.

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

Parametri

domain
NSString
code
System.System.IntPtr System.nativeint

Restituisce

Si applica a

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

Parametri

domain
NSString
code
System.System.IntPtr System.nativeint
userInfo
NSDictionary

Da aggiungere.

Questo parametro può essere null.

Restituisce

Attributi

Si applica a