Share via


IAsyncCodeLensDataPoint.GetDataAsync Method

Definition

Overloads

GetDataAsync(CancellationToken)

Gets lens data from the data point.

GetDataAsync(CodeLensDescriptorContext, CancellationToken)

Gets lens data from the data point.

GetDataAsync(CancellationToken)

Gets lens data from the data point.

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

Parameters

Returns

A CodeLensDataPointDescriptor object representing the lens data from the data point.

Applies to

GetDataAsync(CodeLensDescriptorContext, CancellationToken)

Gets lens data from the data point.

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

Parameters

descriptorContext
CodeLensDescriptorContext

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

Returns

A CodeLensDataPointDescriptor object representing the lens data from the data point.

Applies to