BuildDropProvider.BeginCopyDirectory Method
Begins an asynchronous operation to recursively copy the contents of one directory into another.
Namespace: Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Declaration
Public MustOverride Function BeginCopyDirectory ( _
sourceDirectory As String, _
targetDirectory As String, _
callback As AsyncCallback, _
state As Object _
) As IAsyncResult
public abstract IAsyncResult BeginCopyDirectory(
string sourceDirectory,
string targetDirectory,
AsyncCallback callback,
Object state
)
public:
virtual IAsyncResult^ BeginCopyDirectory(
String^ sourceDirectory,
String^ targetDirectory,
AsyncCallback^ callback,
Object^ state
) abstract
abstract BeginCopyDirectory :
sourceDirectory:string *
targetDirectory:string *
callback:AsyncCallback *
state:Object -> IAsyncResult
public abstract function BeginCopyDirectory(
sourceDirectory : String,
targetDirectory : String,
callback : AsyncCallback,
state : Object
) : IAsyncResult
Parameters
sourceDirectory
Type: System.StringThe source directory of the copy operation
targetDirectory
Type: System.StringThe target directory of the copy operation
callback
Type: System.AsyncCallbackThe System.AsyncCallback delegate that receives notification that the operation is finished.
state
Type: System.ObjectAn object, specified by the caller, that contains state information associated with the asynchronous operation.
Return Value
Type: System.IAsyncResult
Returns IAsyncResult.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.TeamFoundation.Build.Workflow.Activities Namespace