Share via


RootEventChain.AppendEvent Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

When overridden in a derived class, appends an event to a stream.

Namespace:  Microsoft.VisualStudio.TraceLog
Assembly:  Microsoft.VisualStudio.TraceLog (in Microsoft.VisualStudio.TraceLog.dll)

Syntax

'Declaration
Public MustOverride Function AppendEvent ( _
    chainEvent As ChainEvent _
) As EventToken
'Usage
Dim instance As RootEventChain
Dim chainEvent As ChainEvent
Dim returnValue As EventToken

returnValue = instance.AppendEvent(chainEvent)
public abstract EventToken AppendEvent(
    ChainEvent chainEvent
)
public:
virtual EventToken AppendEvent(
    ChainEvent^ chainEvent
) abstract
abstract AppendEvent : 
        chainEvent:ChainEvent -> EventToken 
public abstract function AppendEvent(
    chainEvent : ChainEvent
) : EventToken

Parameters

Return Value

Type: Microsoft.VisualStudio.TraceLog.EventToken
The event token for this event in the event chain.

.NET Framework Security

See Also

Reference

RootEventChain Class

RootEventChain Members

Microsoft.VisualStudio.TraceLog Namespace