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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET