SqlTrackingService.ProfileUpdated 事件

定义

SqlTrackingService 检测到 TrackingProfile 已更改时发生。Occurs when the SqlTrackingService detects that a TrackingProfile has been changed.

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) 

事件类型

EventHandler<ProfileUpdatedEventArgs>

实现

注解

SqlTrackingService 将定期检查其数据库以确定其一个或多个跟踪配置文件是否已更改。The SqlTrackingService periodically examines its database to determine whether one or more of its tracking profiles have been changed. 如果在 TrackingProfile 中检测到此类更改,它将引发 ProfileUpdated 事件,跟踪配置文件包装在 ProfileUpdatedEventArgs 中。If it detects such a change in a TrackingProfile, it raises the ProfileUpdated event with the tracking profile encapsulated in a ProfileUpdatedEventArgs. 运行时跟踪基础结构使用此事件来更新其配置文件缓存。The runtime tracking infrastructure uses this event to update its profile cache. 您可以设置 ProfileChangeCheckInterval 以指定 SqlTrackingService 检查其数据库的频率。You can set ProfileChangeCheckInterval to specify the frequency at which the SqlTrackingService examines its database.

适用于