다음을 통해 공유


IAsyncExecutable<TEntity>.ExecuteAsync Method

Definition

Overloads

ExecuteAsync()

Executes the action and gets the result.

ExecuteAsync(ICommonQueryableSpace)

Executes the action and gets the result.

ExecuteAsync(CancellationToken)

Executes the action and gets the result.

ExecuteAsync(ICommonQueryableSpace, CancellationToken)

Executes the action and gets the result.

ExecuteAsync()

Executes the action and gets the result.

public System.Threading.Tasks.Task<Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<TEntity>> ExecuteAsync ();
abstract member ExecuteAsync : unit -> System.Threading.Tasks.Task<Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<'Entity>>
Public Function ExecuteAsync () As Task(Of IQueryResults(Of TEntity))

Returns

Task<IQueryResults<TEntity>>

The result.

Applies to

ExecuteAsync(ICommonQueryableSpace)

Executes the action and gets the result.

public System.Threading.Tasks.Task<Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<TEntity>> ExecuteAsync (Microsoft.VisualStudio.ProjectSystem.Query.ICommonQueryableSpace queryableSpace);
abstract member ExecuteAsync : Microsoft.VisualStudio.ProjectSystem.Query.ICommonQueryableSpace -> System.Threading.Tasks.Task<Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<'Entity>>
Public Function ExecuteAsync (queryableSpace As ICommonQueryableSpace) As Task(Of IQueryResults(Of TEntity))

Parameters

queryableSpace
ICommonQueryableSpace

The model space to execute the action.

Returns

Task<IQueryResults<TEntity>>

The result.

Applies to

ExecuteAsync(CancellationToken)

Executes the action and gets the result.

public System.Threading.Tasks.Task<Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<TEntity>> ExecuteAsync (System.Threading.CancellationToken cancellationToken);
abstract member ExecuteAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<'Entity>>
Public Function ExecuteAsync (cancellationToken As CancellationToken) As Task(Of IQueryResults(Of TEntity))

Parameters

cancellationToken
CancellationToken

A cancellation token to cancel the execution in the middle.

Returns

Task<IQueryResults<TEntity>>

The result.

Applies to

ExecuteAsync(ICommonQueryableSpace, CancellationToken)

Executes the action and gets the result.

public System.Threading.Tasks.Task<Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<TEntity>> ExecuteAsync (Microsoft.VisualStudio.ProjectSystem.Query.ICommonQueryableSpace queryableSpace, System.Threading.CancellationToken cancellationToken);
abstract member ExecuteAsync : Microsoft.VisualStudio.ProjectSystem.Query.ICommonQueryableSpace * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<'Entity>>
Public Function ExecuteAsync (queryableSpace As ICommonQueryableSpace, cancellationToken As CancellationToken) As Task(Of IQueryResults(Of TEntity))

Parameters

queryableSpace
ICommonQueryableSpace

The model space to execute the action.

cancellationToken
CancellationToken

A cancellation token to cancel the execution in the middle.

Returns

Task<IQueryResults<TEntity>>

The result.

Applies to