다음을 통해 공유


NSUrlCredentialStorage.GetCredentials 메서드

정의

오버로드

GetCredentials(NSUrlProtectionSpace)
GetCredentials(NSUrlProtectionSpace, NSUrlSessionTask, Action<NSDictionary>)

GetCredentials(NSUrlProtectionSpace)

[Foundation.Export("credentialsForProtectionSpace:")]
public virtual Foundation.NSDictionary GetCredentials (Foundation.NSUrlProtectionSpace forProtectionSpace);
abstract member GetCredentials : Foundation.NSUrlProtectionSpace -> Foundation.NSDictionary
override this.GetCredentials : Foundation.NSUrlProtectionSpace -> Foundation.NSDictionary

매개 변수

forProtectionSpace
NSUrlProtectionSpace

반환

특성

적용 대상

GetCredentials(NSUrlProtectionSpace, NSUrlSessionTask, Action<NSDictionary>)

[Foundation.Export("getCredentialsForProtectionSpace:task:completionHandler:")]
[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 GetCredentials (Foundation.NSUrlProtectionSpace protectionSpace, Foundation.NSUrlSessionTask task, Action<Foundation.NSDictionary> completionHandler);
abstract member GetCredentials : Foundation.NSUrlProtectionSpace * Foundation.NSUrlSessionTask * Action<Foundation.NSDictionary> -> unit
override this.GetCredentials : Foundation.NSUrlProtectionSpace * Foundation.NSUrlSessionTask * Action<Foundation.NSDictionary> -> unit

매개 변수

protectionSpace
NSUrlProtectionSpace
completionHandler
Action<NSDictionary>

추가될 예정입니다.

이 매개 변수는 null일 수 있습니다.

특성

적용 대상