UserSessionResource.SendMessage(UserSessionMessage, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Send a message to a user.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage
- Operation Id: UserSessions_SendMessage
- Default Api Version: 2024-04-03
- Resource: UserSessionResource
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
Parameters
- sendMessage
- UserSessionMessage
Object containing message includes title and message body.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.