共用方式為


SignalRUpstreamTemplate.EventPattern Property

Definition

Gets or sets the matching pattern for event names. If not set, it matches any event. There are 3 kind of patterns supported: 1. "*", it to matches any event name. 2. Combine multiple events with ",", for example "connect,disconnect", it matches event "connect" and "disconnect". 3. The single event name, for example, "connect", it matches "connect".

public string EventPattern { get; set; }
member this.EventPattern : string with get, set
Public Property EventPattern As String

Property Value

Applies to