CacheDependency.SetCacheDependencyChanged 方法

定义

添加 Action 方法,处理通知感兴趣的参与方有关此依赖项的更改。

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))

参数

dependencyChangedAction
Action<Object,EventArgs>

依赖项更改的操作。

适用于