Partager via


UserSessionResource.SendMessage(UserSessionMessage, CancellationToken) Méthode

Définition

Envoyer un message à un utilisateur.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage
  • IdUserSessions_SendMessage d’opération
public virtual Azure.Response SendMessage (Azure.ResourceManager.DesktopVirtualization.Models.UserSessionMessage sendMessage = default, System.Threading.CancellationToken cancellationToken = default);
abstract member SendMessage : Azure.ResourceManager.DesktopVirtualization.Models.UserSessionMessage * System.Threading.CancellationToken -> Azure.Response
override this.SendMessage : Azure.ResourceManager.DesktopVirtualization.Models.UserSessionMessage * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function SendMessage (Optional sendMessage As UserSessionMessage = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response

Paramètres

sendMessage
UserSessionMessage

L’objet contenant le message inclut le titre et le corps du message.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à