INSUrlConnectionDelegate Interface

Definition

This interface represents the Objective-C protocol NSURLConnectionDelegate.

[Foundation.Protocol(Name="NSURLConnectionDelegate", WrapperType=typeof(Foundation.NSUrlConnectionDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CanAuthenticateAgainstProtectionSpace", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlConnection), typeof(Foundation.NSUrlProtectionSpace) }, ReturnType=typeof(System.Boolean), Selector="connection:canAuthenticateAgainstProtectionSpace:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReceivedAuthenticationChallenge", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlConnection), typeof(Foundation.NSUrlAuthenticationChallenge) }, Selector="connection:didReceiveAuthenticationChallenge:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CanceledAuthenticationChallenge", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlConnection), typeof(Foundation.NSUrlAuthenticationChallenge) }, Selector="connection:didCancelAuthenticationChallenge:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ConnectionShouldUseCredentialStorage", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlConnection) }, ReturnType=typeof(System.Boolean), Selector="connectionShouldUseCredentialStorage:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FailedWithError", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlConnection), typeof(Foundation.NSError) }, Selector="connection:didFailWithError:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillSendRequestForAuthenticationChallenge", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlConnection), typeof(Foundation.NSUrlAuthenticationChallenge) }, Selector="connection:willSendRequestForAuthenticationChallenge:")]
public interface INSUrlConnectionDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSURLConnectionDelegate", WrapperType=typeof(Foundation.NSUrlConnectionDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CanAuthenticateAgainstProtectionSpace", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlConnection), typeof(Foundation.NSUrlProtectionSpace) }, ReturnType=typeof(System.Boolean), Selector="connection:canAuthenticateAgainstProtectionSpace:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReceivedAuthenticationChallenge", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlConnection), typeof(Foundation.NSUrlAuthenticationChallenge) }, Selector="connection:didReceiveAuthenticationChallenge:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CanceledAuthenticationChallenge", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlConnection), typeof(Foundation.NSUrlAuthenticationChallenge) }, Selector="connection:didCancelAuthenticationChallenge:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ConnectionShouldUseCredentialStorage", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlConnection) }, ReturnType=typeof(System.Boolean), Selector="connectionShouldUseCredentialStorage:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FailedWithError", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlConnection), typeof(Foundation.NSError) }, Selector="connection:didFailWithError:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillSendRequestForAuthenticationChallenge", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlConnection), typeof(Foundation.NSUrlAuthenticationChallenge) }, Selector="connection:willSendRequestForAuthenticationChallenge:")>]
type INSUrlConnectionDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Applies to