NSUrlSessionTaskDelegate_Extensions.DidReceiveChallenge 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public static void DidReceiveChallenge (this Foundation.INSUrlSessionTaskDelegate This, Foundation.NSUrlSession session, Foundation.NSUrlSessionTask task, Foundation.NSUrlAuthenticationChallenge challenge, Action<Foundation.NSUrlSessionAuthChallengeDisposition,Foundation.NSUrlCredential> completionHandler);
static member DidReceiveChallenge : Foundation.INSUrlSessionTaskDelegate * Foundation.NSUrlSession * Foundation.NSUrlSessionTask * Foundation.NSUrlAuthenticationChallenge * Action<Foundation.NSUrlSessionAuthChallengeDisposition, Foundation.NSUrlCredential> -> unit
参数
此扩展方法操作的实例。
- session
- NSUrlSession
- task
- NSUrlSessionTask
- challenge
- NSUrlAuthenticationChallenge
- completionHandler
- Action<NSUrlSessionAuthChallengeDisposition,NSUrlCredential>