UpstreamTemplate.EventPattern Property

Definition

Gets or sets 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".
[Newtonsoft.Json.JsonProperty(PropertyName="eventPattern")]
public string EventPattern { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="eventPattern")>]
member this.EventPattern : string with get, set
Public Property EventPattern As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to