Share via


NSUrlCredentialStorage.GetCredentialsAsync Method

Definition

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<Foundation.NSDictionary> GetCredentialsAsync(Foundation.NSUrlProtectionSpace protectionSpace, Foundation.NSUrlSessionTask task);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetCredentialsAsync : Foundation.NSUrlProtectionSpace * Foundation.NSUrlSessionTask -> System.Threading.Tasks.Task<Foundation.NSDictionary>
override this.GetCredentialsAsync : Foundation.NSUrlProtectionSpace * Foundation.NSUrlSessionTask -> System.Threading.Tasks.Task<Foundation.NSDictionary>

Parameters

protectionSpace
NSUrlProtectionSpace

Returns

A task that represents the asynchronous GetCredentials operation. The value of the TResult parameter is of type System.Action<Foundation.NSDictionary>.

Attributes

Applies to