Share via


IPeekBroker2.TriggerPeekSession Method

Definition

Starts a Peek session with the specified options.

public:
 Microsoft::VisualStudio::Language::Intellisense::IPeekSession2 ^ TriggerPeekSession(Microsoft::VisualStudio::Language::Intellisense::PeekSessionCreationOptions ^ options, Microsoft::VisualStudio::Utilities::IUIThreadOperationContext ^ operationContext);
public Microsoft.VisualStudio.Language.Intellisense.IPeekSession2? TriggerPeekSession (Microsoft.VisualStudio.Language.Intellisense.PeekSessionCreationOptions options, Microsoft.VisualStudio.Utilities.IUIThreadOperationContext operationContext);
abstract member TriggerPeekSession : Microsoft.VisualStudio.Language.Intellisense.PeekSessionCreationOptions * Microsoft.VisualStudio.Utilities.IUIThreadOperationContext -> Microsoft.VisualStudio.Language.Intellisense.IPeekSession2
Public Function TriggerPeekSession (options As PeekSessionCreationOptions, operationContext As IUIThreadOperationContext) As IPeekSession2

Parameters

options
PeekSessionCreationOptions

The options needed to create a Peek session.

operationContext
IUIThreadOperationContext

A context of executing this operation on the UI thread, which allows to provide custom operation description and progress information.

Returns

A valid Peek session. May be null if no session could be created for the TriggerPoint for the given RelationshipName.

Applies to