DeploymentService.BeginCreateBuildDeployment Method

Mark build as a deployment and the associated build being deployed.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
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
)
public:
IAsyncResult^ BeginCreateBuildDeployment(
    Uri^ deploymentUri, 
    Uri^ sourceUri, 
    String^ environmentName, 
    AsyncCallback^ callback, 
    Object^ state
)
member BeginCreateBuildDeployment : 
        deploymentUri:Uri * 
        sourceUri:Uri * 
        environmentName:string * 
        callback:AsyncCallback * 
        state:Object -> IAsyncResult
public function BeginCreateBuildDeployment(
    deploymentUri : Uri, 
    sourceUri : Uri, 
    environmentName : String, 
    callback : AsyncCallback, 
    state : Object
) : IAsyncResult

Parameters

  • deploymentUri
    Type: System.Uri

    The build Uri that runs the deployment.

  • sourceUri
    Type: System.Uri

    The build Uri for the build being deployed.

  • state
    Type: System.Object

    An object that saves variable information for an instance of an asynchronous activity.

Return Value

Type: System.IAsyncResult
IAsyncResult that saves variable information for this async call.

.NET Framework Security

See Also

Reference

DeploymentService Class

Microsoft.TeamFoundation.Build.Client Namespace