Bagikan melalui


IProfileNotification Antarmuka

Definisi

Perhatian

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

Menyediakan mekanisme pemberitahuan untuk layanan pelacakan untuk menginformasikan infrastruktur pelacakan runtime tentang perubahan pada TrackingProfile untuk alur Typekerja tertentu .

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
Turunan
Atribut

Keterangan

Catatan

Materi ini membahas jenis dan namespace layanan yang sudah tidak digunakan. Untuk informasi selengkapnya, lihat Tipe Yang Tidak Digunakan Lagi di Windows Workflow Foundation 4.5.

Layanan pelacakan mengelola profil pelacakan yang tersedia untuk infrastruktur pelacakan runtime. Layanan pelacakan yang menerapkan IProfileNotification dapat memberikan pemberitahuan ke infrastruktur pelacakan runtime ketika TrackingProfile untuk alur Type kerja tertentu berubah atau tidak lagi valid. Infrastruktur pelacakan runtime berlangganan ProfileUpdated peristiwa dan ProfileRemoved dan memperbarui cache-nya saat peristiwa ini dinaikkan. Ini mengurangi jumlah permintaan untuk melacak profil yang dilakukan infrastruktur pelacakan runtime ke layanan pelacakan. Catatan: infrastruktur pelacakan runtime masih menggunakan metode layanan pelacakan yang kelebihan beban GetProfile , tetapi tidak memanggilnya sesering mungkin.

Acara

ProfileRemoved
Kedaluwarsa.

Terjadi ketika TrackingProfile untuk Jenis alur kerja tertentu dihapus.

ProfileUpdated
Kedaluwarsa.

Terjadi ketika TrackingProfile untuk alur Type kerja tertentu diperbarui.

Berlaku untuk