次の方法で共有


IAsyncCodeLensDataPoint.GetDetailsAsync Method

Definition

Overloads

GetDetailsAsync(CancellationToken)

Gets lens details from the data point.

GetDetailsAsync(CodeLensDescriptorContext, CancellationToken)

Gets lens details from the data point.

GetDetailsAsync(CancellationToken)

Gets lens details from the data point.

public:
 System::Threading::Tasks::Task<Microsoft::VisualStudio::Language::CodeLens::Remoting::CodeLensDetailsDescriptor ^> ^ GetDetailsAsync(System::Threading::CancellationToken token);
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Language.CodeLens.Remoting.CodeLensDetailsDescriptor> GetDetailsAsync (System.Threading.CancellationToken token);
abstract member GetDetailsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Language.CodeLens.Remoting.CodeLensDetailsDescriptor>
Public Function GetDetailsAsync (token As CancellationToken) As Task(Of CodeLensDetailsDescriptor)

Parameters

Returns

A CodeLensDetailEntryDescriptor object representing the lens details of the data point.

Applies to

GetDetailsAsync(CodeLensDescriptorContext, CancellationToken)

Gets lens details from the data point.

public:
 System::Threading::Tasks::Task<Microsoft::VisualStudio::Language::CodeLens::Remoting::CodeLensDetailsDescriptor ^> ^ GetDetailsAsync(Microsoft::VisualStudio::Language::CodeLens::CodeLensDescriptorContext ^ descriptorContext, System::Threading::CancellationToken token);
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Language.CodeLens.Remoting.CodeLensDetailsDescriptor> GetDetailsAsync (Microsoft.VisualStudio.Language.CodeLens.CodeLensDescriptorContext descriptorContext, System.Threading.CancellationToken token);
abstract member GetDetailsAsync : Microsoft.VisualStudio.Language.CodeLens.CodeLensDescriptorContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Language.CodeLens.Remoting.CodeLensDetailsDescriptor>
Public Function GetDetailsAsync (descriptorContext As CodeLensDescriptorContext, token As CancellationToken) As Task(Of CodeLensDetailsDescriptor)

Parameters

descriptorContext
CodeLensDescriptorContext

An instance of CodeLensDescriptorContext containing dynamic contextual properties of a code element associated with the data point.

Returns

A CodeLensDetailEntryDescriptor object representing the lens details of the data point.

Applies to