Condividi tramite


IFeatureService.StateUpdated Event

Definition

Provides a notification when this feature or its base feature was updated. We use FeatureUpdatedEventArgs and not FeatureChangedEventArgs because there are base features and disable requests from parent scopes that affect the factual state of given feature. We use this event to let the interested parties (IFeatureCookie) recalculate the actual state of the feature.

public:
 event EventHandler<Microsoft::VisualStudio::Utilities::FeatureUpdatedEventArgs ^> ^ StateUpdated;
event EventHandler<Microsoft.VisualStudio.Utilities.FeatureUpdatedEventArgs> StateUpdated;
event EventHandler<Microsoft.VisualStudio.Utilities.FeatureUpdatedEventArgs>? StateUpdated;
member this.StateUpdated : EventHandler<Microsoft.VisualStudio.Utilities.FeatureUpdatedEventArgs> 
Event StateUpdated As EventHandler(Of FeatureUpdatedEventArgs) 

Event Type

Applies to