Megosztás a következőn keresztül:


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.String

    The source directory of the copy operation

  • targetDirectory
    Type: System.String

    The target directory of the copy operation

  • callback
    Type: System.AsyncCallback

    The System.AsyncCallback delegate that receives notification that the operation is finished.

  • state
    Type: System.Object

    An object, specified by the caller, that contains state information associated with the asynchronous operation.

Return Value

Type: System.IAsyncResult
Returns IAsyncResult.

.NET Framework Security

See Also

Reference

BuildDropProvider Class

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace