次の方法で共有


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 に設定できます。

属性

適用対象