DiagnosticStreamChain Class
Provides a chain of DiagnosticEvents that were recorded from a running application.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.IntelliTrace.Chain
Microsoft.VisualStudio.IntelliTrace.RootChain
Microsoft.VisualStudio.IntelliTrace.StreamChain
Microsoft.VisualStudio.IntelliTrace.DiagnosticStreamChain
Namespace: Microsoft.VisualStudio.IntelliTrace
Assembly: Microsoft.IntelliTrace.11.0.0 (in Microsoft.IntelliTrace.11.0.0.dll)
Syntax
'Declaration
Public NotInheritable Class DiagnosticStreamChain _
Inherits StreamChain
public sealed class DiagnosticStreamChain : StreamChain
public ref class DiagnosticStreamChain sealed : public StreamChain
[<Sealed>]
type DiagnosticStreamChain =
class
inherit StreamChain
end
public final class DiagnosticStreamChain extends StreamChain
The DiagnosticStreamChain type exposes the following members.
Properties
Name | Description | |
---|---|---|
Access | Gets the type of access that is permitted to the chain. (Inherited from RootChain.) | |
AfterLastToken | Gets an EventToken for the position that is immediately after the current LastToken. (Inherited from StreamChain.) | |
BeforeFirstToken | Gets an EventToken for the position that is immediately before FirstToken. (Inherited from Chain.) | |
CanGetCount | Gets a value that determines whether the chain supports Count. (Inherited from Chain.) | |
CanGetLastToken | Gets a value that determines whether the chain supports LastToken. (Inherited from Chain.) | |
CanGetPreviousToken | Gets a value that determines whether the chain supports GetPreviousToken. (Inherited from Chain.) | |
Count | Gets the number of events in the chain. (Inherited from Chain.) | |
FirstToken | Gets an EventToken for the first event in the chain. (Inherited from StreamChain.) | |
FirstValidToken | Gets an EventToken for the first valid event in the chain. (Inherited from StreamChain.) | |
IsEmpty | Gets a value that indicates whether the chain is empty. (Inherited from StreamChain.) | |
LastToken | Gets an EventToken for the last event in the chain. (Inherited from Chain.) |
Top
Methods
Name | Description | |
---|---|---|
AppendEvent | Appends an IntelliTraceEvent to a stream. (Inherited from StreamChain.) | |
Dispose() | (Inherited from Chain.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetEnumerator() | (Inherited from Chain.) | |
GetEvent | Gets an IntelliTraceEvent for the specified EventToken. (Inherited from StreamChain.) | |
GetEvents | Gets multiple IntelliTraceEvents from a start EventToken up to but excluding an end EventToken. (Inherited from StreamChain.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetNextToken | Gets the EventToken for the next event after the given EventToken. (Inherited from StreamChain.) | |
GetPreviousToken | Gets the EventToken for the previous event before the given EventToken. (Inherited from Chain.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsValidEventType | Determines whether the given IntelliTraceEvent is valid for this chain. (Overrides Chain.IsValidEventType(IntelliTraceEvent).) | |
IsValidToken | Determines whether the given EventToken is valid for this chain. (Inherited from StreamChain.) | |
Tokens | (Inherited from Chain.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable.GetEnumerator | (Inherited from Chain.) |
Top
Remarks
DiagnosticStreamChain is a StreamChain and loads data into memory only as GetEvent or GetEvents is called.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.