StreamChain.AppendEvent(IntelliTraceEvent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The ChainAccess is not ReadAppend.
chainEvent
is not a valid type of event for this chain or
chainEvent
could not be convered to a raw event by ConvertToBytes(IntelliTraceEvent).