Skip to main content

Definition

Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core.Submit

Syntax

Microsoft.Restier.Core.Submit.ISubmitExecutor

Summary

Represents a service that executes a submission.

Methods

ExecuteSubmitAsync Abstract

Asynchronously executes a submission and produces a submit result.

Syntax

System.Threading.Tasks.Task<Microsoft.Restier.Core.Submit.SubmitResult> ExecuteSubmitAsync(Microsoft.Restier.Core.Submit.SubmitContext context, System.Threading.CancellationToken cancellationToken)

Parameters

NameTypeDescription
contextMicrosoft.Restier.Core.Submit.SubmitContextThe submit context.
cancellationTokenSystem.Threading.CancellationTokenA cancellation token.

Returns

Type: System.Threading.Tasks.Task<Microsoft.Restier.Core.Submit.SubmitResult> A task that represents the asynchronous operation whose result is a submit result.