TraceThread.CreateThreadChain<T> Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets a thread event chain.
Namespace: Microsoft.VisualStudio.TraceLog
Assembly: Microsoft.VisualStudio.TraceLog (in Microsoft.VisualStudio.TraceLog.dll)
Syntax
'Declaration
Public Function CreateThreadChain(Of T As EventChain) As T
'Usage
Dim instance As TraceThread
Dim returnValue As T
returnValue = instance.CreateThreadChain()
public T CreateThreadChain<T>()
where T : EventChain
public:
generic<typename T>
where T : EventChain
T CreateThreadChain()
member CreateThreadChain : unit -> 'T when 'T : EventChain
JScript does not support generic types or methods.
Type Parameters
- T
The type of event chain requested: ThreadEventChain or ThreadStreamEventChain.
Return Value
Type: T
.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.