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
- chainEvent
Type: Microsoft.VisualStudio.TraceLog.ChainEvent
The event to append.
Return Value
Type: Microsoft.VisualStudio.TraceLog.EventToken
The event token for this event in the event chain.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.