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

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

适用于