NSUrlCredentialStorage.GetCredentialsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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.NSDictionary> GetCredentialsAsync (Foundation.NSUrlProtectionSpace protectionSpace, Foundation.NSUrlSessionTask task);
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
- task
- NSUrlSessionTask
Returns
A task that represents the asynchronous GetCredentials operation. The value of the TResult parameter is of type System.Action<Foundation.NSDictionary>.
- Attributes