共用方式為


SocketIOAction.CreateSendToSocketAction Method

Definition

Creates an instance of SendToSocketAction for output binding.

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

Parameters

socketId
String

Target socket

eventName
String

Event name

parameters
IEnumerable<Object>

SocketIO data.

namespace
String

Target namespace

Returns

An instance of SendToSocketAction.

Applies to