Definition
Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core.OperationSyntax
Summary
Represents a operation processor.Methods
OnOperationExecutedAsync Abstract
Asynchronously applies logic after an operation is executed.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
context | Microsoft.Restier.Core.Operation.OperationContext | The submit context. |
cancellationToken | System.Threading.CancellationToken | A cancellation token. |
Returns
Type:System.Threading.Tasks.Task
A task that represents the asynchronous operation.
OnOperationExecutingAsync Abstract
Asynchronously applies logic before a operation is executed.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
context | Microsoft.Restier.Core.Operation.OperationContext | The operation context. |
cancellationToken | System.Threading.CancellationToken | A cancellation token. |
Returns
Type:System.Threading.Tasks.Task
A task that represents the asynchronous operation.