SqlTrackingService.ProfileUpdated 事件

定义

SqlTrackingService 检测到 TrackingProfile 已更改时发生。

public:
 virtual event EventHandler<System::Workflow::Runtime::Tracking::ProfileUpdatedEventArgs ^> ^ ProfileUpdated;
public event EventHandler<System.Workflow.Runtime.Tracking.ProfileUpdatedEventArgs> ProfileUpdated;
member this.ProfileUpdated : EventHandler<System.Workflow.Runtime.Tracking.ProfileUpdatedEventArgs> 
Public Custom Event ProfileUpdated As EventHandler(Of ProfileUpdatedEventArgs) 
Public Event ProfileUpdated As EventHandler(Of ProfileUpdatedEventArgs) 

事件类型

实现

注解

SqlTrackingService 将定期检查其数据库以确定其一个或多个跟踪配置文件是否已更改。 如果在 TrackingProfile 中检测到此类更改,它将引发 ProfileUpdated 事件,跟踪配置文件包装在 ProfileUpdatedEventArgs 中。 运行时跟踪基础结构使用此事件来更新其配置文件缓存。 您可以设置 ProfileChangeCheckInterval 以指定 SqlTrackingService 检查其数据库的频率。

适用于