Partilhar via


VirtualApplicationGroupResource.GetVirtualApplicationAsync Método

Definição

Obter um aplicativo.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}
  • IdApplications_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualApplicationResource>> GetVirtualApplicationAsync (string applicationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetVirtualApplicationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualApplicationResource>>
override this.GetVirtualApplicationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualApplicationResource>>
Public Overridable Function GetVirtualApplicationAsync (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 era esperado que não estivesse vazio.

applicationName é nulo.

Aplica-se a