ICollectionOperations.SendMessageToSessionAsync 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.
Sends message to the session associated with the user UPN
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId> SendMessageToSessionAsync(string collectionName, Microsoft.WindowsAzure.Management.RemoteApp.Models.SessionSendMessageCommandParameter sessionMessageParameter, System.Threading.CancellationToken cancellationToken);
abstract member SendMessageToSessionAsync : string * Microsoft.WindowsAzure.Management.RemoteApp.Models.SessionSendMessageCommandParameter * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId>
Public Function SendMessageToSessionAsync (collectionName As String, sessionMessageParameter As SessionSendMessageCommandParameter, cancellationToken As CancellationToken) As Task(Of OperationResultWithTrackingId)
Parameters
- collectionName
- String
The RemoteApp collection name where the session exists.
- sessionMessageParameter
- SessionSendMessageCommandParameter
The session command parameter to send message to a session.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The response containing the operation tracking id.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET