INSUrlConnectionDownloadDelegate Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This interface represents the Objective-C protocol NSURLConnectionDownloadDelegate.
[Foundation.Protocol(Name="NSURLConnectionDownloadDelegate", WrapperType=typeof(Foundation.NSUrlConnectionDownloadDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WroteData", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlConnection), typeof(System.Int64), typeof(System.Int64), typeof(System.Int64) }, Selector="connection:didWriteData:totalBytesWritten:expectedTotalBytes:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ResumedDownloading", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlConnection), typeof(System.Int64), typeof(System.Int64) }, Selector="connectionDidResumeDownloading:totalBytesWritten:expectedTotalBytes:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="FinishedDownloading", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlConnection), typeof(Foundation.NSUrl) }, Selector="connectionDidFinishDownloading:destinationURL:")]
public interface INSUrlConnectionDownloadDelegate : Foundation.INSUrlConnectionDelegate, IDisposable
[<Foundation.Protocol(Name="NSURLConnectionDownloadDelegate", WrapperType=typeof(Foundation.NSUrlConnectionDownloadDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WroteData", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlConnection), typeof(System.Int64), typeof(System.Int64), typeof(System.Int64) }, Selector="connection:didWriteData:totalBytesWritten:expectedTotalBytes:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ResumedDownloading", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlConnection), typeof(System.Int64), typeof(System.Int64) }, Selector="connectionDidResumeDownloading:totalBytesWritten:expectedTotalBytes:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="FinishedDownloading", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlConnection), typeof(Foundation.NSUrl) }, Selector="connectionDidFinishDownloading:destinationURL:")>]
type INSUrlConnectionDownloadDelegate = interface
interface INativeObject
interface IDisposable
interface INSUrlConnectionDelegate
- 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.
Properties
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
Methods
| CanAuthenticateAgainstProtectionSpace(NSUrlConnection, NSUrlProtectionSpace) |
Developers should not use this deprecated method. Developers should use 'WillSendRequestForAuthenticationChallenge' instead. (Inherited from INSUrlConnectionDelegate) |
| CanceledAuthenticationChallenge(NSUrlConnection, NSUrlAuthenticationChallenge) | (Inherited from INSUrlConnectionDelegate) |
| ConnectionShouldUseCredentialStorage(NSUrlConnection) | (Inherited from INSUrlConnectionDelegate) |
| FailedWithError(NSUrlConnection, NSError) | (Inherited from INSUrlConnectionDelegate) |
| FinishedDownloading(NSUrlConnection, NSUrl) | |
| ReceivedAuthenticationChallenge(NSUrlConnection, NSUrlAuthenticationChallenge) | (Inherited from INSUrlConnectionDelegate) |
| ResumedDownloading(NSUrlConnection, Int64, Int64) | |
| WillSendRequestForAuthenticationChallenge(NSUrlConnection, NSUrlAuthenticationChallenge) | (Inherited from INSUrlConnectionDelegate) |
| WroteData(NSUrlConnection, Int64, Int64, Int64) | |