次の方法で共有


WebEventBufferFlushInfo.EventsDiscardedSinceLastNotification プロパティ

定義

最後の通知以降に破棄されたイベント数を取得します。

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

プロパティ値

最後の通知以降にバッファリング機構によって破棄されたイベント数。

次のコード例は、EventsDiscardedSinceLastNotification プロパティの使用方法を示しています。 このコード例は、BufferedWebEventProvider クラスのために提供されている大規模な例の一部です。

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

注釈

設計上、バッファリング メカニズムでは、受信イベントに合わせていくつかのイベントが削除される可能性があります。 構成セクションの 要素を適切に変更することで、このメカニズムを bufferModes 調整するのはユーザーの healthMonitoring 担当です。

適用対象