Freigeben über


DkmRuntimeInstance.GetThreadDisplayProperties Method

Definition

Gets the Display Properties of the Thread including the Display Name and Thread Category.

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.

Location constraint: API must be called from an IDE component (component level > 100,000).

public:
 void GetThreadDisplayProperties(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::ThreadProperties::DkmGetThreadDisplayPropertiesAsyncResult> ^ CompletionRoutine);
public void GetThreadDisplayProperties (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.DkmThread Thread, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.ThreadProperties.DkmGetThreadDisplayPropertiesAsyncResult> CompletionRoutine);
member this.GetThreadDisplayProperties : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.DkmThread * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.ThreadProperties.DkmGetThreadDisplayPropertiesAsyncResult> -> unit
Public Sub GetThreadDisplayProperties (WorkList As DkmWorkList, Thread As DkmThread, CompletionRoutine As DkmCompletionRoutine(Of DkmGetThreadDisplayPropertiesAsyncResult))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

Thread
DkmThread

[In] The Thread.

CompletionRoutine
DkmCompletionRoutine<DkmGetThreadDisplayPropertiesAsyncResult>

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