Share via


StreamChain.AppendEvent(IntelliTraceEvent) Method

Definition

Appends an IntelliTraceEvent to a stream.

public:
 override Microsoft::VisualStudio::IntelliTrace::EventToken AppendEvent(Microsoft::VisualStudio::IntelliTrace::IntelliTraceEvent ^ chainEvent);
 override Microsoft::VisualStudio::IntelliTrace::EventToken AppendEvent(Microsoft::VisualStudio::IntelliTrace::IntelliTraceEvent const & chainEvent);
public override Microsoft.VisualStudio.IntelliTrace.EventToken AppendEvent (Microsoft.VisualStudio.IntelliTrace.IntelliTraceEvent chainEvent);
override this.AppendEvent : Microsoft.VisualStudio.IntelliTrace.IntelliTraceEvent -> Microsoft.VisualStudio.IntelliTrace.EventToken
Public Overrides Function AppendEvent (chainEvent As IntelliTraceEvent) As EventToken

Parameters

chainEvent
IntelliTraceEvent

The event to append.

Returns

The token for this event in the chain.

Exceptions

chainEvent is not a valid type of event for this chain or chainEvent could not be convered to a raw event by ConvertToBytes(IntelliTraceEvent).

Applies to