共用方式為


SignalRConnectionInfoAttribute Class

Definition

Attribute used to bind necessary information for a SignalR client to connect to SignalR Service.

[Microsoft.Azure.WebJobs.Description.Binding]
[System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.ReturnValue)]
public class SignalRConnectionInfoAttribute : Microsoft.Azure.WebJobs.Extensions.SignalRService.NegotiationBaseAttribute
[<Microsoft.Azure.WebJobs.Description.Binding>]
[<System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.ReturnValue)>]
type SignalRConnectionInfoAttribute = class
    inherit NegotiationBaseAttribute
Public Class SignalRConnectionInfoAttribute
Inherits NegotiationBaseAttribute
Inheritance
SignalRConnectionInfoAttribute
Attributes
Microsoft.Azure.WebJobs.Description.BindingAttribute AttributeUsageAttribute

Constructors

SignalRConnectionInfoAttribute()

Properties

ClaimTypeList

Gets or sets the claim type list used to filter the claims in the IdToken.

(Inherited from NegotiationBaseAttribute)
ConnectionStringSetting

Gets or sets the app setting name that contains the SignalR connection.

(Inherited from NegotiationBaseAttribute)
HubName

Gets or sets the name of the hub to which the SignalR client is going to connect.

(Inherited from NegotiationBaseAttribute)
IdToken

Gets or sets the JWT token whose claims will be added to the user claims.

(Inherited from NegotiationBaseAttribute)
UserId

Gets or sets the user id assigned to the SignalR client.

(Inherited from NegotiationBaseAttribute)

Applies to