共用方式為


WebEventBufferFlushInfo.NotificationSequence 屬性

定義

會收到目前通知中的訊息序列。

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

屬性值

表示目前通知中訊息序列的數字,索引為零。

範例

以下程式碼範例說明如何使用該 NotificationSequence 屬性。 此程式碼範例是本類別更大範例 BufferedWebEventProvider 的一部分。

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

適用於