共用方式為


DeploymentService.BeginAddBuildDeploymentProperty 方法

將屬性加入至指定的部署

命名空間:  Microsoft.TeamFoundation.Build.Client
組件:  Microsoft.TeamFoundation.Build.Client (在 Microsoft.TeamFoundation.Build.Client.dll 中)

語法

'宣告
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
)

參數

  • deploymentUri
    類型:System.Uri
    執行部署的組建 URI。
  • state
    類型:System.Object
    儲存非同步活動之執行個體的變數資訊的物件。

傳回值

類型:System.IAsyncResult
儲存這個非同步呼叫的變數資訊的 IAsyncResult。

.NET Framework 安全性

請參閱

參考

DeploymentService 類別

Microsoft.TeamFoundation.Build.Client 命名空間