共用方式為


NSUrlCredentialStorage.RemoveCredential 方法

定義

多載

RemoveCredential(NSUrlCredential, NSUrlProtectionSpace)
RemoveCredential(NSUrlCredential, NSUrlProtectionSpace, NSDictionary)
RemoveCredential(NSUrlCredential, NSUrlProtectionSpace, NSDictionary, NSUrlSessionTask)

RemoveCredential(NSUrlCredential, NSUrlProtectionSpace)

[Foundation.Export("removeCredential:forProtectionSpace:")]
public virtual void RemoveCredential (Foundation.NSUrlCredential credential, Foundation.NSUrlProtectionSpace forProtectionSpace);
abstract member RemoveCredential : Foundation.NSUrlCredential * Foundation.NSUrlProtectionSpace -> unit
override this.RemoveCredential : Foundation.NSUrlCredential * Foundation.NSUrlProtectionSpace -> unit

參數

credential
NSUrlCredential
forProtectionSpace
NSUrlProtectionSpace
屬性

適用於

RemoveCredential(NSUrlCredential, NSUrlProtectionSpace, NSDictionary)

[Foundation.Export("removeCredential:forProtectionSpace:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RemoveCredential (Foundation.NSUrlCredential credential, Foundation.NSUrlProtectionSpace forProtectionSpace, Foundation.NSDictionary options);
abstract member RemoveCredential : Foundation.NSUrlCredential * Foundation.NSUrlProtectionSpace * Foundation.NSDictionary -> unit
override this.RemoveCredential : Foundation.NSUrlCredential * Foundation.NSUrlProtectionSpace * Foundation.NSDictionary -> unit

參數

credential
NSUrlCredential
forProtectionSpace
NSUrlProtectionSpace
options
NSDictionary
屬性

適用於

RemoveCredential(NSUrlCredential, NSUrlProtectionSpace, NSDictionary, NSUrlSessionTask)

[Foundation.Export("removeCredential:forProtectionSpace:options: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 RemoveCredential (Foundation.NSUrlCredential credential, Foundation.NSUrlProtectionSpace protectionSpace, Foundation.NSDictionary options, Foundation.NSUrlSessionTask task);
abstract member RemoveCredential : Foundation.NSUrlCredential * Foundation.NSUrlProtectionSpace * Foundation.NSDictionary * Foundation.NSUrlSessionTask -> unit
override this.RemoveCredential : Foundation.NSUrlCredential * Foundation.NSUrlProtectionSpace * Foundation.NSDictionary * Foundation.NSUrlSessionTask -> unit

參數

credential
NSUrlCredential
protectionSpace
NSUrlProtectionSpace
options
NSDictionary
屬性

適用於