FilteredStreamChain.GetEvents Method

Gets multiple IntelliTraceEvents from a start EventToken up to but excluding an end EventToken.

Namespace:  Microsoft.VisualStudio.IntelliTrace
Assembly:  Microsoft.IntelliTrace.11.0.0 (in Microsoft.IntelliTrace.11.0.0.dll)

Syntax

'Declaration
Public Overrides Function GetEvents ( _
    startToken As EventToken, _
    endToken As EventToken _
) As IList(Of IntelliTraceEvent)
public override IList<IntelliTraceEvent> GetEvents(
    EventToken startToken,
    EventToken endToken
)
public:
virtual IList<IntelliTraceEvent^>^ GetEvents(
    EventToken startToken, 
    EventToken endToken
) override
abstract GetEvents : 
        startToken:EventToken * 
        endToken:EventToken -> IList<IntelliTraceEvent> 
override GetEvents : 
        startToken:EventToken * 
        endToken:EventToken -> IList<IntelliTraceEvent> 
public override function GetEvents(
    startToken : EventToken, 
    endToken : EventToken
) : IList<IntelliTraceEvent>

Parameters

Return Value

Type: IList<IntelliTraceEvent>
A list of events from the chain for the given token range.

Exceptions

Exception Condition
ArgumentException

startToken or endToken are not valid tokens for this chain.

IOException

The underlying stream does not contain enough bytes to read the range of events specified.

.NET Framework Security

See Also

Reference

FilteredStreamChain Class

Microsoft.VisualStudio.IntelliTrace Namespace