Complete(TConfig config) Method

Returns a System.Threading.Tasks.Task`1 that can be returned from the CollectAsync(IOperationCollectionContext context) method to indicate that the operation completed synchronously.

Syntax

protected static Task<TConfig> Complete(TConfig config)

Parameters

config
Type: TConfig

The configuration to return.

Returns

Completed task.