CollectionOperationsExtensions.SendMessageToSession Method

Definition

Sends message to the session associated with the user UPN

public static Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId SendMessageToSession (this Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations operations, string collectionName, Microsoft.WindowsAzure.Management.RemoteApp.Models.SessionSendMessageCommandParameter sessionMessageParameter);
static member SendMessageToSession : Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations * string * Microsoft.WindowsAzure.Management.RemoteApp.Models.SessionSendMessageCommandParameter -> Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId
<Extension()>
Public Function SendMessageToSession (operations As ICollectionOperations, collectionName As String, sessionMessageParameter As SessionSendMessageCommandParameter) As 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