ConnectEventRequest.CreateResponse 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.
Create ConnectEventResponse.
public static Microsoft.Azure.Functions.Worker.ConnectEventResponse CreateResponse (string userId, System.Collections.Generic.IEnumerable<string> groups, string subprotocol, System.Collections.Generic.IEnumerable<string> roles);
static member CreateResponse : string * seq<string> * string * seq<string> -> Microsoft.Azure.Functions.Worker.ConnectEventResponse
Public Shared Function CreateResponse (userId As String, groups As IEnumerable(Of String), subprotocol As String, roles As IEnumerable(Of String)) As ConnectEventResponse
Parameters
- userId
- String
Caller userId for current connection.
- groups
- IEnumerable<String>
Groups applied to current connection.
- subprotocol
- String
Subprotocol applied to current connection.
- roles
- IEnumerable<String>
User roles applied to current connection.
Returns
A connect response to return service.
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for .NET