Dela via


AsyncCausalityTracer.TraceOperationCompletion Method

Definition

Indicates that a previously created asynchronous operation has completed all of its asynchronous work.

public:
 static void TraceOperationCompletion(CausalityTraceLevel traceLevel, CausalitySource source, Platform::Guid platformId, unsigned long long operationId, AsyncStatus status);
 static void TraceOperationCompletion(CausalityTraceLevel const& traceLevel, CausalitySource const& source, winrt::guid const& platformId, uint64_t const& operationId, AsyncStatus const& status);
public static void TraceOperationCompletion(CausalityTraceLevel traceLevel, CausalitySource source, Guid platformId, ulong operationId, AsyncStatus status);
function traceOperationCompletion(traceLevel, source, platformId, operationId, status)
Public Shared Sub TraceOperationCompletion (traceLevel As CausalityTraceLevel, source As CausalitySource, platformId As Guid, operationId As ULong, status As AsyncStatus)

Parameters

traceLevel
CausalityTraceLevel

The trace level.

source
CausalitySource

The trace source.

platformId
Guid

Platform::Guid

winrt::guid

Identifier for the operation type.

operationId
UInt64

unsigned long long

uint64_t

The identifier for the asynchronous operation that's unique within the platform for the operation's lifetime.

status
AsyncStatus

The completion status of the asynchronous operation.

Remarks

This function is used to indicate that a previously created asynchronous operation has completed all of its asynchronous work. The only work that the operation may schedule after logging completion is its completion continuation. The operationId and platformId parameters must match an asynchronous operation that was previously logged by a call to the TraceOperationCreation method.

Applies to

See also