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