Partager via


DeploymentService.BeginAddBuildDeploymentProperty Method

Adds a property to the specified deployment

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

Syntax

'Declaration
Public Function BeginAddBuildDeploymentProperty ( _
    deploymentUri As Uri, _
    key As String, _
    value As String, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
public IAsyncResult BeginAddBuildDeploymentProperty(
    Uri deploymentUri,
    string key,
    string value,
    AsyncCallback callback,
    Object state
)
public:
IAsyncResult^ BeginAddBuildDeploymentProperty(
    Uri^ deploymentUri, 
    String^ key, 
    String^ value, 
    AsyncCallback^ callback, 
    Object^ state
)
member BeginAddBuildDeploymentProperty : 
        deploymentUri:Uri * 
        key:string * 
        value:string * 
        callback:AsyncCallback * 
        state:Object -> IAsyncResult
public function BeginAddBuildDeploymentProperty(
    deploymentUri : Uri, 
    key : String, 
    value : String, 
    callback : AsyncCallback, 
    state : Object
) : IAsyncResult

Parameters

  • deploymentUri
    Type: System.Uri

    The build Uri that runs the deployment.

  • 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