Compartilhar via


SocketIOAction.CreateSendToRoomsAction Method

Definition

Creates an instance of SendToNamespaceAction for output binding.

public static Microsoft.Azure.WebJobs.Extensions.WebPubSubForSocketIO.SendToRoomsAction CreateSendToRoomsAction (System.Collections.Generic.IEnumerable<string> rooms, string eventName, System.Collections.Generic.IEnumerable<object> parameters, System.Collections.Generic.IList<string> exceptRooms = default, string namespace = "/");
static member CreateSendToRoomsAction : seq<string> * string * seq<obj> * System.Collections.Generic.IList<string> * string -> Microsoft.Azure.WebJobs.Extensions.WebPubSubForSocketIO.SendToRoomsAction
Public Shared Function CreateSendToRoomsAction (rooms As IEnumerable(Of String), eventName As String, parameters As IEnumerable(Of Object), Optional exceptRooms As IList(Of String) = Nothing, Optional namespace As String = "/") As SendToRoomsAction

Parameters

rooms
IEnumerable<String>

Target rooms

eventName
String

Event name

parameters
IEnumerable<Object>

SocketIO data.

exceptRooms
IList<String>

Except rooms

namespace
String

Target namespace

Returns

An instance of SendToNamespaceAction.

Applies to