Share via


NSUrlCredentialStorage.GetDefaultCredentialAsync Method

Definition

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

Parameters

Returns

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

Attributes

Remarks

The GetDefaultCredentialAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to