WebEventBufferFlushInfo.NotificationType 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會收到目前的通知類型。
public:
property System::Web::Management::EventNotificationType NotificationType { System::Web::Management::EventNotificationType get(); };
public System.Web.Management.EventNotificationType NotificationType { get; }
member this.NotificationType : System.Web.Management.EventNotificationType
Public ReadOnly Property NotificationType As EventNotificationType
屬性值
這是其中一項 EventNotificationType 價值。
範例
以下程式碼範例說明如何使用該 NotificationType 屬性。 此程式碼範例是本類別更大範例 BufferedWebEventProvider 的一部分。
private EventNotificationType GetNotificationType(
WebEventBufferFlushInfo flushInfo)
{
return flushInfo.NotificationType;
}
Private Function GetNotificationType(ByVal flushInfo _
As WebEventBufferFlushInfo) _
As EventNotificationType
Return flushInfo.NotificationType
End Function 'GetNotificationType