Partilhar via


UserSessionResource.DisconnectAsync(CancellationToken) Método

Definição

Desconecte uma userSession.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect
  • IdUserSessions_Disconnect de operação
public virtual System.Threading.Tasks.Task<Azure.Response> DisconnectAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member DisconnectAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DisconnectAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DisconnectAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a