IAsyncCodeLensDataPoint.GetDetailsAsync 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
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
- token
- CancellationToken
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.
- token
- CancellationToken
Returns
A CodeLensDetailEntryDescriptor object representing the lens details of the data point.