共用方式為


SocketIOParameterAttribute Class

Definition

Mark the parameter as the SignalR parameter that need to bind arguments. It's mutually exclusive with ParameterNames. That means you can not set ParameterNames and use SocketIOParameterAttribute at the same time.

[System.AttributeUsage(System.AttributeTargets.Parameter)]
public class SocketIOParameterAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Parameter)>]
type SocketIOParameterAttribute = class
    inherit Attribute
Public Class SocketIOParameterAttribute
Inherits Attribute
Inheritance
SocketIOParameterAttribute
Attributes

Constructors

SocketIOParameterAttribute()

Applies to