次の方法で共有


UserSessionResource.SendMessage(UserSessionMessage, CancellationToken) メソッド

定義

ユーザーにメッセージを送信します。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage
  • 操作IdUserSessions_SendMessage
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

パラメーター

sendMessage
UserSessionMessage

メッセージを含むオブジェクトには、タイトルとメッセージ本文が含まれます。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

適用対象