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
startToken
Type: Microsoft.VisualStudio.IntelliTrace.EventTokenThe token in the chain to start resolving to events.
- endToken
Type: Microsoft.VisualStudio.IntelliTrace.EventToken
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
- 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.