Partager via


IIndexWorkspaceService2.PushEntityDataAsync Method

Definition

Push data into our indexing service.

public:
 System::Threading::Tasks::Task ^ PushEntityDataAsync(System::String ^ filePath, Guid providerType, Microsoft::VisualStudio::Workspace::Indexing::IndexEntityData ^ indexEntityData, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task PushEntityDataAsync (string filePath, Guid providerType, Microsoft.VisualStudio.Workspace.Indexing.IndexEntityData indexEntityData, System.Threading.CancellationToken cancellationToken);
abstract member PushEntityDataAsync : string * Guid * Microsoft.VisualStudio.Workspace.Indexing.IndexEntityData * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function PushEntityDataAsync (filePath As String, providerType As Guid, indexEntityData As IndexEntityData, cancellationToken As CancellationToken) As Task

Parameters

filePath
String

File path of entity we want to push.

providerType
Guid

The provider unique id responsible for this data.

indexEntityData
IndexEntityData

Data to push.

cancellationToken
CancellationToken

Cancellation token.

Returns

Completion task.

Applies to