你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SignalRNegotiationAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
要绑定到 Microsoft.Azure.WebJobs.Extensions.SignalRService.NegotiationContext 函数参数的输入绑定属性。
[Microsoft.Azure.WebJobs.Description.Binding]
[System.AttributeUsage(System.AttributeTargets.Parameter)]
public class SignalRNegotiationAttribute : Microsoft.Azure.WebJobs.Extensions.SignalRService.NegotiationBaseAttribute
[<Microsoft.Azure.WebJobs.Description.Binding>]
[<System.AttributeUsage(System.AttributeTargets.Parameter)>]
type SignalRNegotiationAttribute = class
inherit NegotiationBaseAttribute
Public Class SignalRNegotiationAttribute
Inherits NegotiationBaseAttribute
- 继承
- 属性
-
Microsoft.Azure.WebJobs.Description.BindingAttribute AttributeUsageAttribute
注解
设计用于函数语言(C# 除外),用于自定义协商路由。
构造函数
SignalRNegotiationAttribute() |
要绑定到 Microsoft.Azure.WebJobs.Extensions.SignalRService.NegotiationContext 函数参数的输入绑定属性。 |
属性
ClaimTypeList |
获取或设置用于筛选 中的 IdToken声明的声明类型列表。 (继承自 NegotiationBaseAttribute) |
ConnectionStringSetting |
获取或设置包含 SignalR 连接的应用设置名称。 (继承自 NegotiationBaseAttribute) |
HubName |
获取或设置 SignalR 客户端要连接到的中心的名称。 (继承自 NegotiationBaseAttribute) |
IdToken |
获取或设置 JWT 令牌,该令牌的声明将添加到用户声明。 (继承自 NegotiationBaseAttribute) |
UserId |
获取或设置分配给 SignalR 客户端的用户 ID。 (继承自 NegotiationBaseAttribute) |