編輯

共用方式為


NSUrlSessionTaskDelegate.DidReceiveChallenge Method

Definition

[Foundation.Export("URLSession:task:didReceiveChallenge:completionHandler:")]
public virtual void DidReceiveChallenge (Foundation.NSUrlSession session, Foundation.NSUrlSessionTask task, Foundation.NSUrlAuthenticationChallenge challenge, Action<Foundation.NSUrlSessionAuthChallengeDisposition,Foundation.NSUrlCredential> completionHandler);
override this.DidReceiveChallenge : Foundation.NSUrlSession * Foundation.NSUrlSessionTask * Foundation.NSUrlAuthenticationChallenge * Action<Foundation.NSUrlSessionAuthChallengeDisposition, Foundation.NSUrlCredential> -> unit

Parameters

session
NSUrlSession
Attributes

Applies to