Compartilhar via


IntelliTraceThread.CreateThreadChain<T> Method

Gets a thread event chain.

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

Syntax

'Declaração
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

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

See Also

Reference

IntelliTraceThread Class

Microsoft.VisualStudio.IntelliTrace Namespace