Share via


INSUrlSessionDelegate Interface

Definition

This interface represents the Objective-C protocol NSURLSessionDelegate.

[Foundation.Protocol(Name="NSURLSessionDelegate", WrapperType=typeof(Foundation.NSUrlSessionDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidBecomeInvalid", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession), typeof(Foundation.NSError) }, Selector="URLSession:didBecomeInvalidWithError:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidReceiveChallenge", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V11) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession), typeof(Foundation.NSUrlAuthenticationChallenge), typeof(System.Action<Foundation.NSUrlSessionAuthChallengeDisposition,Foundation.NSUrlCredential>) }, Selector="URLSession:didReceiveChallenge:completionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidFinishEventsForBackgroundSession", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession) }, Selector="URLSessionDidFinishEventsForBackgroundURLSession:")]
public interface INSUrlSessionDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="NSURLSessionDelegate", WrapperType=typeof(Foundation.NSUrlSessionDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidBecomeInvalid", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession), typeof(Foundation.NSError) }, Selector="URLSession:didBecomeInvalidWithError:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidFinishEventsForBackgroundSession", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession) }, Selector="URLSessionDidFinishEventsForBackgroundURLSession:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidReceiveChallenge", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V7) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession), typeof(Foundation.NSUrlAuthenticationChallenge), typeof(System.Action<Foundation.NSUrlSessionAuthChallengeDisposition,Foundation.NSUrlCredential>) }, Selector="URLSession:didReceiveChallenge:completionHandler:")]
public interface INSUrlSessionDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="NSURLSessionDelegate", WrapperType=typeof(Foundation.NSUrlSessionDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidBecomeInvalid", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession), typeof(Foundation.NSError) }, Selector="URLSession:didBecomeInvalidWithError:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidFinishEventsForBackgroundSession", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession) }, Selector="URLSessionDidFinishEventsForBackgroundURLSession:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidReceiveChallenge", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V21) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession), typeof(Foundation.NSUrlAuthenticationChallenge), typeof(System.Action<Foundation.NSUrlSessionAuthChallengeDisposition,Foundation.NSUrlCredential>) }, Selector="URLSession:didReceiveChallenge:completionHandler:")]
public interface INSUrlSessionDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSURLSessionDelegate", WrapperType=typeof(Foundation.NSUrlSessionDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidBecomeInvalid", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession), typeof(Foundation.NSError) }, Selector="URLSession:didBecomeInvalidWithError:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidReceiveChallenge", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V11) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession), typeof(Foundation.NSUrlAuthenticationChallenge), typeof(System.Action<Foundation.NSUrlSessionAuthChallengeDisposition,Foundation.NSUrlCredential>) }, Selector="URLSession:didReceiveChallenge:completionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidFinishEventsForBackgroundSession", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession) }, Selector="URLSessionDidFinishEventsForBackgroundURLSession:")>]
type INSUrlSessionDelegate = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="NSURLSessionDelegate", WrapperType=typeof(Foundation.NSUrlSessionDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidBecomeInvalid", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession), typeof(Foundation.NSError) }, Selector="URLSession:didBecomeInvalidWithError:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidFinishEventsForBackgroundSession", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession) }, Selector="URLSessionDidFinishEventsForBackgroundURLSession:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidReceiveChallenge", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V7) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession), typeof(Foundation.NSUrlAuthenticationChallenge), typeof(System.Action<Foundation.NSUrlSessionAuthChallengeDisposition,Foundation.NSUrlCredential>) }, Selector="URLSession:didReceiveChallenge:completionHandler:")>]
type INSUrlSessionDelegate = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="NSURLSessionDelegate", WrapperType=typeof(Foundation.NSUrlSessionDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidBecomeInvalid", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession), typeof(Foundation.NSError) }, Selector="URLSession:didBecomeInvalidWithError:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidFinishEventsForBackgroundSession", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession) }, Selector="URLSessionDidFinishEventsForBackgroundURLSession:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidReceiveChallenge", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V21) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession), typeof(Foundation.NSUrlAuthenticationChallenge), typeof(System.Action<Foundation.NSUrlSessionAuthChallengeDisposition,Foundation.NSUrlCredential>) }, Selector="URLSession:didReceiveChallenge:completionHandler:")>]
type INSUrlSessionDelegate = 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