次の方法で共有


UserSessionResource.SendMessageAsync メソッド

定義

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

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage
  • 操作IdUserSessions_SendMessage
public virtual System.Threading.Tasks.Task<Azure.Response> SendMessageAsync (Azure.ResourceManager.DesktopVirtualization.Models.UserSessionMessage sendMessage = default, System.Threading.CancellationToken cancellationToken = default);
abstract member SendMessageAsync : Azure.ResourceManager.DesktopVirtualization.Models.UserSessionMessage * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.SendMessageAsync : Azure.ResourceManager.DesktopVirtualization.Models.UserSessionMessage * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function SendMessageAsync (Optional sendMessage As UserSessionMessage = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

パラメーター

sendMessage
UserSessionMessage

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

cancellationToken
CancellationToken

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

戻り値

適用対象