IAsyncExecutable<TEntity>.ExecuteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
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
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
The result.