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

ServicesOperationsExtensions.GetAsync 方法

定义

获取用于创建支持票证的特定 Azure 服务。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Support.Models.Service> GetAsync (this Microsoft.Azure.Management.Support.IServicesOperations operations, string serviceName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Support.IServicesOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Support.Models.Service>
<Extension()>
Public Function GetAsync (operations As IServicesOperations, serviceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Service)

参数

operations
IServicesOperations

此扩展方法的操作组。

serviceName
String

Azure 服务的名称。

cancellationToken
CancellationToken

取消标记。

返回

适用于