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.UriThe build Uri that runs the deployment.
sourceUri
Type: System.UriThe build Uri for the build being deployed.
- environmentName
Type: System.String
callback
Type: System.AsyncCallbackThe method to call when this operation has completed.
state
Type: System.ObjectAn 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.