Bagikan melalui


WebEventBufferFlushInfo.Events Properti

Definisi

Mendapatkan kumpulan peristiwa dalam pesan saat ini.

public:
 property System::Web::Management::WebBaseEventCollection ^ Events { System::Web::Management::WebBaseEventCollection ^ get(); };
public System.Web.Management.WebBaseEventCollection Events { get; }
member this.Events : System.Web.Management.WebBaseEventCollection
Public ReadOnly Property Events As WebBaseEventCollection

Nilai Properti

Kejadian WebBaseEventCollection yang terkandung dalam pesan saat ini.

Contoh

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

private WebBaseEventCollection GetEvents(
    WebEventBufferFlushInfo flushInfo)
{
    return flushInfo.Events;
}
Private Function GetEvents( _
ByVal flushInfo As WebEventBufferFlushInfo) _
As WebBaseEventCollection
    Return flushInfo.Events
End Function 'GetEvents

Keterangan

Karena buffering, beberapa peristiwa biasanya dikirim dalam satu pesan.

Berlaku untuk