WebEventBufferFlushInfo.EventsDiscardedSinceLastNotification Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mendapatkan jumlah peristiwa yang dihilangkan sejak pemberitahuan terakhir.
public:
property int EventsDiscardedSinceLastNotification { int get(); };
public int EventsDiscardedSinceLastNotification { get; }
member this.EventsDiscardedSinceLastNotification : int
Public ReadOnly Property EventsDiscardedSinceLastNotification As Integer
Nilai Properti
Jumlah peristiwa yang dihilangkan oleh mekanisme buffering sejak pemberitahuan terakhir.
Contoh
Contoh kode berikut menunjukkan cara menggunakan EventsDiscardedSinceLastNotification properti . Contoh kode ini adalah bagian dari contoh yang lebih besar yang disediakan untuk BufferedWebEventProvider kelas .
private int GetEventsDiscardedSinceLastNotification(
WebEventBufferFlushInfo flushInfo)
{
return flushInfo.EventsDiscardedSinceLastNotification;
}
Private Function GetEventsDiscardedSinceLastNotification( _
ByVal flushInfo _
As WebEventBufferFlushInfo) As Integer
Return flushInfo.EventsDiscardedSinceLastNotification
End Function 'GetEventsDiscardedSinceLastNotification
Keterangan
Secara desain, mekanisme buffering mungkin menghilangkan beberapa peristiwa untuk mengimbangi peristiwa yang masuk. Terserah pengguna untuk menyesuaikan mekanisme ini dengan memodifikasi bufferModes elemen dengan benar di bagian healthMonitoring konfigurasi.