DkmRuntimeInstance.GetThreadName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetThreadName(DkmWorkList, DkmThread, DkmCompletionRoutine<DkmGetThreadNameAsyncResult>) |
Compute the name of a thread. This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine. |
GetThreadName(DkmThread) |
Compute the name of a thread. |
GetThreadName(DkmWorkList, DkmThread, DkmCompletionRoutine<DkmGetThreadNameAsyncResult>)
Compute the name of a thread.
This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.
public:
void GetThreadName(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::ThreadProperties::DkmGetThreadNameAsyncResult> ^ CompletionRoutine);
public void GetThreadName (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.DkmThread Thread, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.ThreadProperties.DkmGetThreadNameAsyncResult> CompletionRoutine);
member this.GetThreadName : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.DkmThread * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.ThreadProperties.DkmGetThreadNameAsyncResult> -> unit
Public Sub GetThreadName (WorkList As DkmWorkList, Thread As DkmThread, CompletionRoutine As DkmCompletionRoutine(Of DkmGetThreadNameAsyncResult))
Parameters
- WorkList
- DkmWorkList
WorkList to append the new work item to.
- Thread
- DkmThread
[In] The Thread.
- CompletionRoutine
- DkmCompletionRoutine<DkmGetThreadNameAsyncResult>
Routine to fire when the request is complete. If the request is successfully appended to the work list, this will always fire (including when the operation is canceled). This will never fire if appending the work item fails.
Applies to
GetThreadName(DkmThread)
Compute the name of a thread.
public:
System::String ^ GetThreadName(Microsoft::VisualStudio::Debugger::DkmThread ^ Thread);
public string GetThreadName (Microsoft.VisualStudio.Debugger.DkmThread Thread);
public string? GetThreadName (Microsoft.VisualStudio.Debugger.DkmThread Thread);
member this.GetThreadName : Microsoft.VisualStudio.Debugger.DkmThread -> string
Public Function GetThreadName (Thread As DkmThread) As String
Parameters
- Thread
- DkmThread
[In] The Thread.
Returns
[Out,Optional] The Thread Name.