NSUrlCredentialStorage.GetCredentials 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
- task
- NSUrlSessionTask
- 属性