Share via


AsyncCausalityTracer.TraceOperationRelation Method

Definition

Logs the relation between the currently running synchronous work item and a specific asynchronous operation that it's related to.

public:
 static void TraceOperationRelation(CausalityTraceLevel traceLevel, CausalitySource source, Platform::Guid platformId, unsigned long long operationId, CausalityRelation relation);
 static void TraceOperationRelation(CausalityTraceLevel const& traceLevel, CausalitySource const& source, winrt::guid const& platformId, uint64_t const& operationId, CausalityRelation const& relation);
public static void TraceOperationRelation(CausalityTraceLevel traceLevel, CausalitySource source, Guid platformId, ulong operationId, CausalityRelation relation);
function traceOperationRelation(traceLevel, source, platformId, operationId, relation)
Public Shared Sub TraceOperationRelation (traceLevel As CausalityTraceLevel, source As CausalitySource, platformId As Guid, operationId As ULong, relation As CausalityRelation)

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.

relation
CausalityRelation

The relationship between the synchronous work item and asynchronous operation identified by operationId.

Remarks

Causality relations track ways that synchronous work items may interact with asynchronous operations.

Applies to

See also