共用方式為


INSUrlConnectionDelegate 介面

定義

介面,表示通訊協定 NSUrlConnectionDelegate 的任何) 時, (所需的方法。

[Foundation.Protocol(Name="NSURLConnectionDelegate", WrapperType=typeof(Foundation.NSUrlConnectionDelegateWrapper))]
public interface INSUrlConnectionDelegate : IDisposable, ObjCRuntime.INativeObject
type INSUrlConnectionDelegate = interface
    interface INativeObject
    interface IDisposable
衍生
屬性
實作

備註

如果從 所 NSUrlConnectionDelegate 定義的通訊協定有任何) ,這個介面會包含必要的方法 (。

如果開發人員建立實作此介面的類別,則實作方法會自動匯出至 Objective-C,其中包含通訊協定中所定義方法的 NSUrlConnectionDelegate 相符簽章。

如果類別提供 NSUrlConnectionDelegate_Extensions 任何) 做為介面的擴充方法,則選擇性方法 (,讓開發人員可以在通訊協定上叫用任何選擇性方法。

屬性

Handle

處理非受控物件標記法) (指標。

(繼承來源 INativeObject)

擴充方法

CanAuthenticateAgainstProtectionSpace(INSUrlConnectionDelegate, NSUrlConnection, NSUrlProtectionSpace)

開發人員不應該使用此已被取代的方法。 開發人員應該改用 'WillSendRequestForAuthenticationChallenge'。

CanceledAuthenticationChallenge(INSUrlConnectionDelegate, NSUrlConnection, NSUrlAuthenticationChallenge)

介面,表示通訊協定 NSUrlConnectionDelegate 的任何) 時, (所需的方法。

ConnectionShouldUseCredentialStorage(INSUrlConnectionDelegate, NSUrlConnection)

介面,表示通訊協定 NSUrlConnectionDelegate 的任何) 時, (所需的方法。

FailedWithError(INSUrlConnectionDelegate, NSUrlConnection, NSError)

介面,表示通訊協定 NSUrlConnectionDelegate 的任何) 時, (所需的方法。

ReceivedAuthenticationChallenge(INSUrlConnectionDelegate, NSUrlConnection, NSUrlAuthenticationChallenge)

介面,表示通訊協定 NSUrlConnectionDelegate 的任何) 時, (所需的方法。

WillSendRequestForAuthenticationChallenge(INSUrlConnectionDelegate, NSUrlConnection, NSUrlAuthenticationChallenge)

介面,表示通訊協定 NSUrlConnectionDelegate 的任何) 時, (所需的方法。

適用於