public virtual IAsyncResult BeginDownloadFile(
string localPath,
string remoteFile,
TransferParameters transferParams,
AsyncCallback callback,
Object state
)Public Overridable Function BeginDownloadFile (
localPath As String,
remoteFile As String,
transferParams As TransferParameters,
callback As AsyncCallback,
state As Object
) As IAsyncResultpublic:
virtual IAsyncResult^ BeginDownloadFile(
String^ localPath,
String^ remoteFile,
TransferParameters^ transferParams,
AsyncCallback^ callback,
Object^ state
)abstract BeginDownloadFile :
localPath : string *
remoteFile : string *
transferParams : TransferParameters *
callback : AsyncCallback *
state : Object -> IAsyncResult
override BeginDownloadFile :
localPath : string *
remoteFile : string *
transferParams : TransferParameters *
callback : AsyncCallback *
state : Object -> IAsyncResult You can create a callback method that implements the AsyncCallback delegate and pass its name to the BeginDownloadFile method. The state argument may be used to pass in data that will be passed to the callback method.
For more information please refer to the synchronous version of this method, DownloadFile(String, String).