Compartilhar via


HostPoolResource.GetMsixPackageAsync(String, CancellationToken) Método

Definição

Obtenha um msixpackage.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}
  • Operação IdMSIXPackages_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.MsixPackageResource>> GetMsixPackageAsync (string msixPackageFullName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMsixPackageAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.MsixPackageResource>>
override this.GetMsixPackageAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.MsixPackageResource>>
Public Overridable Function GetMsixPackageAsync (msixPackageFullName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MsixPackageResource))

Parâmetros

msixPackageFullName
String

O nome completo do pacote específico da versão do pacote MSIX no hostpool especificado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

msixPackageFullName é nulo.

Aplica-se a