IAsyncQuickInfoBroker.GetQuickInfoItemsAsync(ITextView, ITrackingPoint, CancellationToken) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
- 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
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.