共用方式為


ServicesOperationsExtensions.GetAsync Method

Definition

Gets a specific Azure service for support ticket creation.

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)

Parameters

operations
IServicesOperations

The operations group for this extension method.

serviceName
String

Name of the Azure service.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to