Bagikan melalui


WebEventBufferFlushInfo.NotificationType Properti

Definisi

Mendapatkan jenis pemberitahuan saat ini.

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

Nilai Properti

Salah EventNotificationType satu nilai.

Contoh

Contoh kode berikut menunjukkan cara menggunakan NotificationType properti . Contoh kode ini adalah bagian dari contoh yang lebih besar yang disediakan untuk BufferedWebEventProvider kelas .

private EventNotificationType GetNotificationType(
    WebEventBufferFlushInfo flushInfo)
{
    return flushInfo.NotificationType;
}
Private Function GetNotificationType(ByVal flushInfo _
As WebEventBufferFlushInfo) _
As EventNotificationType
    Return flushInfo.NotificationType
End Function 'GetNotificationType

Berlaku untuk