Share via


WebPubSubAction.CreateCloseClientConnectionAction(String, String) Method

Definition

Creates an instance of CloseClientConnectionAction for output binding.

public static Microsoft.Azure.WebJobs.Extensions.WebPubSub.CloseClientConnectionAction CreateCloseClientConnectionAction (string connectionId, string reason = default);
static member CreateCloseClientConnectionAction : string * string -> Microsoft.Azure.WebJobs.Extensions.WebPubSub.CloseClientConnectionAction
Public Shared Function CreateCloseClientConnectionAction (connectionId As String, Optional reason As String = Nothing) As CloseClientConnectionAction

Parameters

connectionId
String

Target connectionId.

reason
String

Close reason.

Returns

An instance of CloseClientConnectionAction.

Applies to