Share via


ConnectEventResponse Constructors

Definition

Overloads

ConnectEventResponse()

Default constructor for JsonSerialize.

ConnectEventResponse(String, IEnumerable<String>, String, IEnumerable<String>)

Create an instance of ConnectEventResponse

ConnectEventResponse()

Source:
ConnectEventResponse.cs

Default constructor for JsonSerialize.

public ConnectEventResponse ();
Public Sub New ()

Applies to

ConnectEventResponse(String, IEnumerable<String>, String, IEnumerable<String>)

Source:
ConnectEventResponse.cs

Create an instance of ConnectEventResponse

public ConnectEventResponse (string userId, System.Collections.Generic.IEnumerable<string> groups, string subprotocol, System.Collections.Generic.IEnumerable<string> roles);
new Microsoft.Azure.WebPubSub.Common.ConnectEventResponse : string * seq<string> * string * seq<string> -> Microsoft.Azure.WebPubSub.Common.ConnectEventResponse
Public Sub New (userId As String, groups As IEnumerable(Of String), subprotocol As String, roles As IEnumerable(Of String))

Parameters

userId
String

User Id of current connection.

groups
IEnumerable<String>

Groups belong of current connection.

subprotocol
String

Subprotocol to use for current connection.

roles
IEnumerable<String>

Roles belongs of current connection.

Applies to