IAsyncCodeLensDataPoint.GetDataAsync Метод

Определение

Перегрузки

GetDataAsync(CancellationToken)

Получает данные линзы из точки данных.

GetDataAsync(CodeLensDescriptorContext, CancellationToken)

GetDataAsync(CancellationToken)

Получает данные линзы из точки данных.

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)

Параметры

Возвращаемое значение

Task<CodeLensDataPointDescriptor>

CodeLensDataPointDescriptorОбъект, представляющий данные линзы из точки данных.

Применяется к

GetDataAsync(CodeLensDescriptorContext, CancellationToken)

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)

Параметры

descriptorContext
CodeLensDescriptorContext

Возвращаемое значение

Task<CodeLensDataPointDescriptor>

Применяется к