Condividi tramite


WebEventBufferFlushInfo.Events Proprietà

Definizione

Ottiene la raccolta di eventi nel messaggio corrente.

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

Valore della proprietà

Eventi WebBaseEventCollection contenuti nel messaggio corrente.

Esempio

Nell'esempio di codice seguente viene illustrato come utilizzare la Events proprietà . Questo esempio di codice fa parte di un esempio più ampio fornito per la BufferedWebEventProvider classe .

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

Commenti

A causa del buffering, diversi eventi vengono in genere inviati in un singolo messaggio.

Si applica a