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.UriThe build Uri that runs the deployment.
key
Type: System.StringThe key of the property
value
Type: System.StringThe value of the property
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.