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>