Compartilhar via


VirtualApplicationCollection.GetIfExists(String, CancellationToken) Método

Definição

Tenta obter detalhes para esse recurso do serviço.

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