Compartir a través de


CacheInvalidationEventArgs Class

Definition

Represents the event data for when the file enumeration service's cache is being invalidated.

public sealed class CacheInvalidationEventArgs : EventArgs, IEquatable<Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.CacheInvalidationEventArgs>
type CacheInvalidationEventArgs = class
    inherit EventArgs
    interface IEquatable<CacheInvalidationEventArgs>
Public NotInheritable Class CacheInvalidationEventArgs
Inherits EventArgs
Implements IEquatable(Of CacheInvalidationEventArgs)
Inheritance
CacheInvalidationEventArgs
Implements

Constructors

CacheInvalidationEventArgs(CacheUpdateStrategy, VsState, Boolean, Object, Object)

Initializes a new instance of the CacheInvalidationEventArgs class.

Properties

CacheUpdateStrategy

Gets the kind of update that should be applied to the cache.

DelayCacheFilling

Indicates whether the cache update should be delayed.

Tag1

An object that will be passed to TryGetSingleCacheFileEntityAsync(Object, CancellationToken) if needed.

Tag2

An object that will be passed to TryGetSingleCacheFileEntityAsync(Object, CancellationToken) if needed.

TargetState

Gets whether the solution or open folder cache should be updated.

Methods

Equals(CacheInvalidationEventArgs)
GetHashCode()

Applies to