NSUrlCredentialStorage.SetDefaultCredential Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
SetDefaultCredential(NSUrlCredential, NSUrlProtectionSpace, NSUrlSessionTask) | |
SetDefaultCredential(NSUrlCredential, NSUrlProtectionSpace) |
SetDefaultCredential(NSUrlCredential, NSUrlProtectionSpace, NSUrlSessionTask)
[Foundation.Export("setDefaultCredential:forProtectionSpace:task:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetDefaultCredential (Foundation.NSUrlCredential credential, Foundation.NSUrlProtectionSpace protectionSpace, Foundation.NSUrlSessionTask task);
abstract member SetDefaultCredential : Foundation.NSUrlCredential * Foundation.NSUrlProtectionSpace * Foundation.NSUrlSessionTask -> unit
override this.SetDefaultCredential : Foundation.NSUrlCredential * Foundation.NSUrlProtectionSpace * Foundation.NSUrlSessionTask -> unit
Parámetros
- credential
- NSUrlCredential
- protectionSpace
- NSUrlProtectionSpace
- task
- NSUrlSessionTask
- Atributos
Se aplica a
SetDefaultCredential(NSUrlCredential, NSUrlProtectionSpace)
[Foundation.Export("setDefaultCredential:forProtectionSpace:")]
public virtual void SetDefaultCredential (Foundation.NSUrlCredential credential, Foundation.NSUrlProtectionSpace forProtectionSpace);
abstract member SetDefaultCredential : Foundation.NSUrlCredential * Foundation.NSUrlProtectionSpace -> unit
override this.SetDefaultCredential : Foundation.NSUrlCredential * Foundation.NSUrlProtectionSpace -> unit
Parámetros
- credential
- NSUrlCredential
- forProtectionSpace
- NSUrlProtectionSpace
- Atributos