次の方法で共有


CollectionOperationsExtensions.SendMessageToSessionAsync メソッド

定義

ユーザー 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)

パラメーター

operations
ICollectionOperations

Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations への参照。

collectionName
String

必須。 セッションが存在する RemoteApp コレクション名。

sessionMessageParameter
SessionSendMessageCommandParameter

必須。 セッションにメッセージを送信するセッション コマンド パラメーター。

戻り値

操作追跡 ID を含む応答。

適用対象