語言

WebEventBufferFlushInfo.LastNotificationUtc 屬性

定義

會收到最後通知的日期和時間。

public:
 property DateTime LastNotificationUtc { DateTime get(); };
public DateTime LastNotificationUtc { get; }
member this.LastNotificationUtc : DateTime
Public ReadOnly Property LastNotificationUtc As DateTime

屬性值

最後通知的日期和時間。

範例

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

private DateTime GetLastNotificationTime(
    WebEventBufferFlushInfo flushInfo)
{
    return flushInfo.LastNotificationUtc;
}
Private Function GetLastNotificationTime(ByVal flushInfo _
As WebEventBufferFlushInfo) As DateTime
    Return flushInfo.LastNotificationUtc
End Function 'GetLastNotificationTime

適用於