This documentation is archived and is not being maintained.

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)

public:
IAsyncResult^ BeginCreateBuildDeployment(
	Uri^ deploymentUri, 
	Uri^ sourceUri, 
	String^ environmentName, 
	AsyncCallback^ callback, 
	Object^ state
)

Parameters

deploymentUri
Type: System::Uri

The build Uri that runs the deployment.

sourceUri
Type: System::Uri

The build Uri for the build being deployed.

environmentName
Type: System::String
callback
Type: System::AsyncCallback

The method to call when this operation has completed.

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.

Show: