共用方式為


WebEventBufferFlushInfo.NotificationType 屬性

定義

會收到目前的通知類型。

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

適用於