Partager via


BuildDropProvider.BeginCopyDirectory, méthode

Commence une opération asynchrone pour copier de manière récursive le contenu d'un répertoire dans un autre.

Espace de noms :  Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly :  Microsoft.TeamFoundation.Build.Workflow (dans Microsoft.TeamFoundation.Build.Workflow.dll)

Syntaxe

'Déclaration
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
)

Paramètres

  • sourceDirectory
    Type : System.String
    La source de l'opération de copie
  • targetDirectory
    Type : System.String
    Répertoire cible de l'opération de copie
  • callback
    Type : System.AsyncCallback
    Le délégué d'System.AsyncCallback qui reçoit une notification lorsque l'opération est terminée.
  • state
    Type : System.Object
    Un objet, spécifié par l'appelant, qui contient les informations d'état associées à l'opération asynchrone.

Valeur de retour

Type : System.IAsyncResult
retourne IAsyncResult ;

Sécurité .NET Framework

Voir aussi

Référence

BuildDropProvider Classe

Microsoft.TeamFoundation.Build.Workflow.Activities, espace de noms