Edit

Share via


InstrumentRule Class

Definition

Contains a set of parameters used to determine which instruments are enabled for which listeners. Unspecified parameters match anything.

public ref class InstrumentRule
public class InstrumentRule
type InstrumentRule = class
Public Class InstrumentRule
Inheritance
InstrumentRule

Remarks

The most specific rule that matches a given instrument will be used. The priority of parameters is as follows:

  • MeterName, either an exact match, or the longest prefix match. See Name.
  • InstrumentName, an exact match. See Name.
  • ListenerName, an exact match. See Name.
  • Scopes.

Constructors

InstrumentRule(String, String, String, MeterScope, Boolean)

Initializes a new instance of the InstrumentRule class.

Properties

Enable

Gets a value that indicates if the instrument should be enabled for the listener.

InstrumentName

Gets the Name, an exact match.

ListenerName

Gets the Name, an exact match.

MeterName

Gets the Name, either an exact match or the longest prefix match. Only full segment matches are considered.

Scopes

Gets the MeterScope.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to