你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CodePackageActivator.ActivateCodePackageAsync 方法

定义

重载

ActivateCodePackageAsync(IList<CodePackageActivationInformation>, IDictionary<String,String>, TimeSpan, CancellationToken)

仅限内部

ActivateCodePackageAsync(IList<String>, IDictionary<String,String>, TimeSpan, CancellationToken)

仅限内部

ActivateCodePackageAsync(IList<CodePackageActivationInformation>, IDictionary<String,String>, TimeSpan, CancellationToken)

仅限内部

public System.Threading.Tasks.Task ActivateCodePackageAsync(System.Collections.Generic.IList<System.Fabric.CodePackageActivationInformation> cpActivationInfoList, System.Collections.Generic.IDictionary<string,string> environment, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.ActivateCodePackageAsync : System.Collections.Generic.IList<System.Fabric.CodePackageActivationInformation> * System.Collections.Generic.IDictionary<string, string> * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ActivateCodePackageAsync (cpActivationInfoList As IList(Of CodePackageActivationInformation), environment As IDictionary(Of String, String), timeout As TimeSpan, cancellationToken As CancellationToken) As Task

参数

cpActivationInfoList
IList<CodePackageActivationInformation>
environment
IDictionary<String,String>
timeout
TimeSpan
cancellationToken
CancellationToken

返回

适用于

ActivateCodePackageAsync(IList<String>, IDictionary<String,String>, TimeSpan, CancellationToken)

仅限内部

public System.Threading.Tasks.Task ActivateCodePackageAsync(System.Collections.Generic.IList<string> codePackageNames, System.Collections.Generic.IDictionary<string,string> environment, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.ActivateCodePackageAsync : System.Collections.Generic.IList<string> * System.Collections.Generic.IDictionary<string, string> * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ActivateCodePackageAsync (codePackageNames As IList(Of String), environment As IDictionary(Of String, String), timeout As TimeSpan, cancellationToken As CancellationToken) As Task

参数

codePackageNames
IList<String>
environment
IDictionary<String,String>
timeout
TimeSpan
cancellationToken
CancellationToken

返回

适用于