다음을 통해 공유


NSUrlCredentialStorage.GetDefaultCredentialAsync 메서드

정의

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<Foundation.NSUrlCredential> GetDefaultCredentialAsync (Foundation.NSUrlProtectionSpace space, Foundation.NSUrlSessionTask task);
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>

매개 변수

반환

비동기 GetDefaultCredential 작업을 나타내는 작업입니다. TResult 매개 변수의 값은 System.Action<Foundation.NSUrlCredential> 형식입니다.

특성

설명

GetDefaultCredentialAsync 메서드는 작업을 나타내는 Task를 사용하여 호출자에게 컨트롤을 반환하여 C# 비동기에서 사용하는 데 적합합니다.

추가될 예정입니다.

적용 대상