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

HostedServiceOperationsExtensions.GetExtensionAsync 方法

定义

获取扩展操作检索有关已添加到云服务的指定扩展的信息。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/windowsazure/dn169557.aspx)

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceGetExtensionResponse> GetExtensionAsync (this Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations operations, string serviceName, string extensionId);
static member GetExtensionAsync : Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceGetExtensionResponse>
<Extension()>
Public Function GetExtensionAsync (operations As IHostedServiceOperations, serviceName As String, extensionId As String) As Task(Of HostedServiceGetExtensionResponse)

参数

operations
IHostedServiceOperations

对 Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations 的引用。

serviceName
String

必需。 云服务的名称。

extensionId
String

必需。 添加到云服务时分配给扩展的标识符

返回

获取扩展操作响应。

适用于