[ObsoleteAttribute("Use BeginUploadFile(string, string, WriteMode, AsyncCallback, object)")]
public virtual IAsyncResult BeginUploadFile(
string localPath,
string remoteFile,
bool append,
AsyncCallback callback,
Object state
)<ObsoleteAttribute("Use BeginUploadFile(string, string, WriteMode, AsyncCallback, object)")>
Public Overridable Function BeginUploadFile (
localPath As String,
remoteFile As String,
append As Boolean,
callback As AsyncCallback,
state As Object
) As IAsyncResultpublic:
[ObsoleteAttribute(L"Use BeginUploadFile(string, string, WriteMode, AsyncCallback, object)")]
virtual IAsyncResult^ BeginUploadFile(
String^ localPath,
String^ remoteFile,
bool append,
AsyncCallback^ callback,
Object^ state
)[<ObsoleteAttribute("Use BeginUploadFile(string, string, WriteMode, AsyncCallback, object)")>]
abstract BeginUploadFile :
localPath : string *
remoteFile : string *
append : bool *
callback : AsyncCallback *
state : Object -> IAsyncResult
[<ObsoleteAttribute("Use BeginUploadFile(string, string, WriteMode, AsyncCallback, object)")>]
override BeginUploadFile :
localPath : string *
remoteFile : string *
append : bool *
callback : AsyncCallback *
state : Object -> IAsyncResult You can create a callback method that implements the AsyncCallback delegate and pass its name to the BeginUploadFile 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, UploadFile(String, String, Boolean).