Partilhar via


VirtualApplicationCollection.GetAsync(String, CancellationToken) Método

Definição

Obter um aplicativo.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}
  • Operação IdApplications_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualApplicationResource>> GetAsync (string applicationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualApplicationResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualApplicationResource>>
Public Overridable Function GetAsync (applicationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VirtualApplicationResource))

Parâmetros

applicationName
String

O nome do aplicativo dentro do grupo de aplicativos especificado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

applicationName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

applicationName é nulo.

Aplica-se a