Compartilhar via


MobileNetworkResource.GetMobileNetworkServiceAsync Método

Definição

Obtém informações sobre o serviço especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/services/{serviceName}
  • Operação IdServices_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MobileNetwork.MobileNetworkServiceResource>> GetMobileNetworkServiceAsync (string serviceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMobileNetworkServiceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MobileNetwork.MobileNetworkServiceResource>>
override this.GetMobileNetworkServiceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MobileNetwork.MobileNetworkServiceResource>>
Public Overridable Function GetMobileNetworkServiceAsync (serviceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MobileNetworkServiceResource))

Parâmetros

serviceName
String

O nome do serviço. Você não deve usar nenhuma das seguintes cadeias de caracteres reservadas – defaultou requestedservice.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

serviceName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

serviceName é nulo.

Aplica-se a