你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SignalRIgnoreAttribute 类

定义

在基于类的模型中,将参数显式标记为不为 SignalR 参数。 这意味着它不会绑定到 InvocationMessage 参数。

[System.AttributeUsage(System.AttributeTargets.Parameter)]
public class SignalRIgnoreAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Parameter)>]
type SignalRIgnoreAttribute = class
    inherit Attribute
Public Class SignalRIgnoreAttribute
Inherits Attribute
继承
SignalRIgnoreAttribute
属性

构造函数

SignalRIgnoreAttribute()

在基于类的模型中,将参数显式标记为不为 SignalR 参数。 这意味着它不会绑定到 InvocationMessage 参数。

适用于