WebPubSubAction.CreateCloseClientConnectionAction(String, String) 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 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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET