IAsyncQuickInfoBroker.GetQuickInfoItemsAsync(ITextView, ITrackingPoint, CancellationToken) Méthode

Définition

Obtient des éléments d’info Express pour le ITextView au niveau de triggerPoint .

public:
 System::Threading::Tasks::Task<Microsoft::VisualStudio::Language::Intellisense::QuickInfoItemsCollection ^> ^ GetQuickInfoItemsAsync(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, Microsoft::VisualStudio::Text::ITrackingPoint ^ triggerPoint, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Language.Intellisense.QuickInfoItemsCollection> GetQuickInfoItemsAsync (Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Text.ITrackingPoint triggerPoint, System.Threading.CancellationToken cancellationToken);
abstract member GetQuickInfoItemsAsync : Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Text.ITrackingPoint * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Language.Intellisense.QuickInfoItemsCollection>
Public Function GetQuickInfoItemsAsync (textView As ITextView, triggerPoint As ITrackingPoint, cancellationToken As CancellationToken) As Task(Of QuickInfoItemsCollection)

Paramètres

textView
ITextView

ITextView pour laquelle Info express doit être déclenchée.

triggerPoint
ITrackingPoint

ITrackingPointDans la mémoire tampon de texte de la vue à laquelle l’info Express doit être déclenchée.

cancellationToken
CancellationToken

En cas d’annulation avant le retour de la méthode, annule tous les calculs en cours.

Retours

Task<QuickInfoItemsCollection>

Une série d’éléments d’informations rapides et une étendue pour laquelle ils sont applicables.

Exceptions

cancellationToken a été annulé par l’appelant.

Une ou plusieurs erreurs se sont produites lors de la requête des sources des éléments Info Express.

S’applique à