다음을 통해 공유


NSUrlCredentialStorage.SetDefaultCredential 메서드

정의

오버로드

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

매개 변수

credential
NSUrlCredential
protectionSpace
NSUrlProtectionSpace
특성

적용 대상

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

매개 변수

credential
NSUrlCredential
forProtectionSpace
NSUrlProtectionSpace
특성

적용 대상