共用方式為


IContextRuleMonitorService.ContextRuleStateChanged Event

Definition

Occurs when the state of a context rule changes, such as when the Rule becomes active.

public:
 event EventHandler<Microsoft::VisualStudio::RpcContracts::ContextRuleMonitor::ContextRuleStateChangedEventArgs ^> ^ ContextRuleStateChanged;
event EventHandler<Microsoft.VisualStudio.RpcContracts.ContextRuleMonitor.ContextRuleStateChangedEventArgs> ContextRuleStateChanged;
member this.ContextRuleStateChanged : EventHandler<Microsoft.VisualStudio.RpcContracts.ContextRuleMonitor.ContextRuleStateChangedEventArgs> 
Event ContextRuleStateChanged As EventHandler(Of ContextRuleStateChangedEventArgs) 

Event Type

Applies to