CollectionOperationsExtensions.SendMessageToSessionAsync Method

Definition

Sends message to the session associated with the user UPN

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId> SendMessageToSessionAsync (this Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations operations, string collectionName, Microsoft.WindowsAzure.Management.RemoteApp.Models.SessionSendMessageCommandParameter sessionMessageParameter);
static member SendMessageToSessionAsync : Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations * string * Microsoft.WindowsAzure.Management.RemoteApp.Models.SessionSendMessageCommandParameter -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId>
<Extension()>
Public Function SendMessageToSessionAsync (operations As ICollectionOperations, collectionName As String, sessionMessageParameter As SessionSendMessageCommandParameter) As Task(Of OperationResultWithTrackingId)

Parameters

operations
ICollectionOperations

Reference to the Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations.

collectionName
String

Required. The RemoteApp collection name where the session exists.

sessionMessageParameter
SessionSendMessageCommandParameter

Required. The session command parameter to send message to a session.

Returns

The response containing the operation tracking id.

Applies to