StreamChain.GetEvents(EventToken, EventToken) 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.
Gets multiple IntelliTraceEvents from a start EventToken up to but not including an end EventToken.
public:
override System::Collections::Generic::IList<Microsoft::VisualStudio::IntelliTrace::IntelliTraceEvent ^> ^ GetEvents(Microsoft::VisualStudio::IntelliTrace::EventToken startToken, Microsoft::VisualStudio::IntelliTrace::EventToken endToken);
public override System.Collections.Generic.IList<Microsoft.VisualStudio.IntelliTrace.IntelliTraceEvent> GetEvents (Microsoft.VisualStudio.IntelliTrace.EventToken startToken, Microsoft.VisualStudio.IntelliTrace.EventToken endToken);
override this.GetEvents : Microsoft.VisualStudio.IntelliTrace.EventToken * Microsoft.VisualStudio.IntelliTrace.EventToken -> System.Collections.Generic.IList<Microsoft.VisualStudio.IntelliTrace.IntelliTraceEvent>
Public Overrides Function GetEvents (startToken As EventToken, endToken As EventToken) As IList(Of IntelliTraceEvent)
Parameters
- startToken
- EventToken
The token in the chain to start resolving to events.
- endToken
- EventToken
The token after the last event in the chain to end resolving to events.
Returns
A list of events from the chain for the given token range.
Exceptions
startToken
or endToken
are not valid tokens for this chain.
The underlying stream does not contain enough bytes to read the range of events specified.