LogStreamEventChain.AppendEvent Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Appends an event to a stream.
Namespace: Microsoft.VisualStudio.TraceLog
Assembly: Microsoft.VisualStudio.TraceLog (in Microsoft.VisualStudio.TraceLog.dll)
Syntax
'Declaration
Public Overrides Function AppendEvent ( _
chainEvent As ChainEvent _
) As EventToken
'Usage
Dim instance As LogStreamEventChain
Dim chainEvent As ChainEvent
Dim returnValue As EventToken
returnValue = instance.AppendEvent(chainEvent)
public override EventToken AppendEvent(
ChainEvent chainEvent
)
public:
virtual EventToken AppendEvent(
ChainEvent^ chainEvent
) override
abstract AppendEvent :
chainEvent:ChainEvent -> EventToken
override AppendEvent :
chainEvent:ChainEvent -> EventToken
public override function AppendEvent(
chainEvent : ChainEvent
) : EventToken
Parameters
- chainEvent
Type: Microsoft.VisualStudio.TraceLog.ChainEvent
The point to append.
Return Value
Type: Microsoft.VisualStudio.TraceLog.EventToken
The token for this point in the 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.