IProfileNotification インターフェイス

定義

注意事項

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

特定のワークフロー TrackingProfile に対する Type が変化したことを追跡サービスがランタイム追跡インフラストラクチャに通知するためのメカニズムを提供します。

public interface class IProfileNotification
public interface IProfileNotification
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public interface IProfileNotification
type IProfileNotification = interface
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type IProfileNotification = interface
Public Interface IProfileNotification
派生
属性

注釈

注意

ここでは、廃止された型と名前空間について説明します。 詳細については、「.NET 4.5 での Windows Workflow Foundation の新機能」を参照してください。

追跡サービスは、ランタイム追跡インフラストラクチャによって使用される追跡プロファイルを管理します。 IProfileNotification を実装する追跡サービスは、特定のワークフロー TrackingProfile に対する Type が変更されたか、無効になった場合に、ランタイム追跡インフラストラクチャに通知することができます。 ランタイム追跡インフラストラクチャは ProfileUpdated および ProfileRemoved イベントに定期受信して、これらのイベントが発行された場合にキャッシュを更新します。 これにより、ランタイム追跡インフラストラクチャが追跡サービスに対して出す追跡プロファイル要求の数が減少します。 メモ : ランタイム追跡インフラストラクチャは、追跡サービスのオーバーロードされた GetProfile メソッドを引き続き使用しますが、これらのメソッドを頻繁には呼び出さなくなります。

イベント

ProfileRemoved
古い.

特定のワークフロー型に対する TrackingProfile が削除されたときに発生します。

ProfileUpdated
古い.

特定のワークフロー TrackingProfile に対する Type が更新されたときに発生します。

適用対象