NSUrlCredentialStorage.SetCredential Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
SetCredential(NSUrlCredential, NSUrlProtectionSpace) | |
SetCredential(NSUrlCredential, NSUrlProtectionSpace, NSUrlSessionTask) |
SetCredential(NSUrlCredential, NSUrlProtectionSpace)
[Foundation.Export("setCredential:forProtectionSpace:")]
public virtual void SetCredential (Foundation.NSUrlCredential credential, Foundation.NSUrlProtectionSpace forProtectionSpace);
abstract member SetCredential : Foundation.NSUrlCredential * Foundation.NSUrlProtectionSpace -> unit
override this.SetCredential : Foundation.NSUrlCredential * Foundation.NSUrlProtectionSpace -> unit
Parâmetros
- credential
- NSUrlCredential
- forProtectionSpace
- NSUrlProtectionSpace
- Atributos
Aplica-se a
SetCredential(NSUrlCredential, NSUrlProtectionSpace, NSUrlSessionTask)
[Foundation.Export("setCredential: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 SetCredential (Foundation.NSUrlCredential credential, Foundation.NSUrlProtectionSpace protectionSpace, Foundation.NSUrlSessionTask task);
abstract member SetCredential : Foundation.NSUrlCredential * Foundation.NSUrlProtectionSpace * Foundation.NSUrlSessionTask -> unit
override this.SetCredential : Foundation.NSUrlCredential * Foundation.NSUrlProtectionSpace * Foundation.NSUrlSessionTask -> unit
Parâmetros
- credential
- NSUrlCredential
- protectionSpace
- NSUrlProtectionSpace
- task
- NSUrlSessionTask
- Atributos