IDeploymentOperations.GetLogAsync 方法
Gets a deployment log for a website.
命名空间: Microsoft.WindowsAzure.WebSitesExtensions
程序集: Microsoft.WindowsAzure.Management.WebSites(在 Microsoft.WindowsAzure.Management.WebSites.dll 中)
使用
用法
Dim instance As IDeploymentOperations
Dim deploymentId As String
Dim deploymentLogId As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of DeploymentGetLogResponse)
returnValue = instance.GetLogAsync(deploymentId, deploymentLogId, cancellationToken)
语法
声明
Function GetLogAsync ( _
deploymentId As String, _
deploymentLogId As String, _
cancellationToken As CancellationToken _
) As Task(Of DeploymentGetLogResponse)
Task<DeploymentGetLogResponse> GetLogAsync (
string deploymentId,
string deploymentLogId,
CancellationToken cancellationToken
)
Task<DeploymentGetLogResponse^>^ GetLogAsync (
String^ deploymentId,
String^ deploymentLogId,
CancellationToken cancellationToken
)
Task<DeploymentGetLogResponse> GetLogAsync (
String deploymentId,
String deploymentLogId,
CancellationToken cancellationToken
)
function GetLogAsync (
deploymentId : String,
deploymentLogId : String,
cancellationToken : CancellationToken
) : Task<DeploymentGetLogResponse>
参数
- deploymentId
The deployment identifier.
- deploymentLogId
The deployment log identifier.
- cancellationToken
Cancellation token.
返回值
The get log for a deployments operation response.
线程安全
此类型的所有公开静态(在 Visual Basic 中为共享)成员均为线程安全型成员。但不保证所有实例成员都是线程安全的。
平台
开发平台
Windows Vista、Windows 7 和 Windows Server 2008
目标平台
另请参阅
参考
IDeploymentOperations 接口
IDeploymentOperations 成员
Microsoft.WindowsAzure.WebSitesExtensions 命名空间