編輯

共用方式為


CacheDependency.SetCacheDependencyChanged Method

Definition

Adds an Action method to handle notifying interested party in changes to this dependency.

public:
 void SetCacheDependencyChanged(Action<System::Object ^, EventArgs ^> ^ dependencyChangedAction);
public void SetCacheDependencyChanged (Action<object,EventArgs> dependencyChangedAction);
member this.SetCacheDependencyChanged : Action<obj, EventArgs> -> unit
Public Sub SetCacheDependencyChanged (dependencyChangedAction As Action(Of Object, EventArgs))

Parameters

dependencyChangedAction
Action<Object,EventArgs>

The dependency changed action.

Applies to