SocketIOAction.CreateDisconnectSocketsAction 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.
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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET