Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets a thread event chain.
Namespace: Microsoft.VisualStudio.IntelliTrace
Assembly: Microsoft.VisualStudio.IntelliTrace (in Microsoft.VisualStudio.IntelliTrace.dll)
Syntax
'Declaration
Public Function CreateThreadChain(Of T As Chain) As T
public T CreateThreadChain<T>()
where T : Chain
public:
generic<typename T>
where T : Chain
T CreateThreadChain()
member CreateThreadChain : unit -> 'T when 'T : Chain
JScript does not support generic types or methods.
Type Parameters
- T
The type of event chain that was requested. The type of event chain can be ThreadChain or ThreadStreamChain.
Return Value
Type: T
A ThreadChain or ThreadStreamChain that contains the thread events. InvalidOperationException is thrown when no stream exists for the specified IntelliTraceThread.
.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.