public virtual IAsyncResult BeginUploadDirectory(
string localDirectory,
string remoteDirectory,
AsyncCallback callback,
Object state
)Public Overridable Function BeginUploadDirectory (
localDirectory As String,
remoteDirectory As String,
callback As AsyncCallback,
state As Object
) As IAsyncResultpublic:
virtual IAsyncResult^ BeginUploadDirectory(
String^ localDirectory,
String^ remoteDirectory,
AsyncCallback^ callback,
Object^ state
)abstract BeginUploadDirectory :
localDirectory : string *
remoteDirectory : string *
callback : AsyncCallback *
state : Object -> IAsyncResult
override BeginUploadDirectory :
localDirectory : string *
remoteDirectory : string *
callback : AsyncCallback *
state : Object -> IAsyncResult You can create a callback method that implements the AsyncCallback delegate and pass its name to the BeginUploadDirectory 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, UploadDirectory(String, String).