Compartilhar via


SocketIOAction.CreateDisconnectSocketsAction Method

Definition

Creates an instance of DisconnectSocketsAction for output binding.

public static Microsoft.Azure.WebJobs.Extensions.WebPubSubForSocketIO.DisconnectSocketsAction CreateDisconnectSocketsAction (System.Collections.Generic.IEnumerable<string> rooms, bool closeUnderlyingConnection = false, string namespace = "/");
static member CreateDisconnectSocketsAction : seq<string> * bool * string -> Microsoft.Azure.WebJobs.Extensions.WebPubSubForSocketIO.DisconnectSocketsAction
Public Shared Function CreateDisconnectSocketsAction (rooms As IEnumerable(Of String), Optional closeUnderlyingConnection As Boolean = false, Optional namespace As String = "/") As DisconnectSocketsAction

Parameters

rooms
IEnumerable<String>

Target rooms, If not set, disconnect the whole namespace.

closeUnderlyingConnection
Boolean

Whether to close the underlying connection.

namespace
String

Target namespace.

Returns

An instance of DisconnectSocketsAction.

Applies to