Share via


DeploymentService.BeginCreateBuildDeployment, méthode

Marquez la génération comme un déploiement et la génération associée est déployée.

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

Syntaxe

'Déclaration
Public Function BeginCreateBuildDeployment ( _
    deploymentUri As Uri, _
    sourceUri As Uri, _
    environmentName As String, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
public IAsyncResult BeginCreateBuildDeployment(
    Uri deploymentUri,
    Uri sourceUri,
    string environmentName,
    AsyncCallback callback,
    Object state
)

Paramètres

  • deploymentUri
    Type : System.Uri
    L'URI de génération qui exécute le déploiement.
  • sourceUri
    Type : System.Uri
    L'URI de génération de la génération qui est déployée.
  • state
    Type : System.Object
    Objet qui sauvegarde les informations des variables pour une instance d'une activité asynchrone.

Valeur de retour

Type : System.IAsyncResult
IAsyncResult qui stocke les informations de variables de l'appel de l'opération asynchrone.

Sécurité .NET Framework

Voir aussi

Référence

DeploymentService Classe

Microsoft.TeamFoundation.Build.Client, espace de noms