ContextRuleStateChangedEventArgs(String, Boolean) Constructor

Definition

Initializes a new instance of the ContextRuleStateChangedEventArgs class.

public:
 ContextRuleStateChangedEventArgs(System::String ^ identifier, bool isActive);
public ContextRuleStateChangedEventArgs (string identifier, bool isActive);
new Microsoft.VisualStudio.RpcContracts.ContextRuleMonitor.ContextRuleStateChangedEventArgs : string * bool -> Microsoft.VisualStudio.RpcContracts.ContextRuleMonitor.ContextRuleStateChangedEventArgs
Public Sub New (identifier As String, isActive As Boolean)

Parameters

identifier
String

The ID of the rule whose state has changed.

isActive
Boolean

The new state of the rule.

Applies to