Bagikan melalui


WebEventBufferFlushInfo.NotificationSequence Properti

Definisi

Mendapatkan urutan pesan dalam pemberitahuan saat ini.

public:
 property int NotificationSequence { int get(); };
public int NotificationSequence { get; }
member this.NotificationSequence : int
Public ReadOnly Property NotificationSequence As Integer

Nilai Properti

Angka yang menunjukkan urutan pesan dalam pemberitahuan saat ini, dimulai dengan indeks nol.

Contoh

Contoh kode berikut menunjukkan cara menggunakan NotificationSequence properti . Contoh kode ini adalah bagian dari contoh yang lebih besar yang disediakan untuk BufferedWebEventProvider kelas .

private int GetNotificationSequence(
    WebEventBufferFlushInfo flushInfo)
{
    return flushInfo.NotificationSequence;
}
Private Function GetNotificationSequence(ByVal flushInfo _
As WebEventBufferFlushInfo) As Integer
    Return flushInfo.NotificationSequence
End Function 'GetNotificationSequence

Berlaku untuk