共用方式為


AsyncCausalityTracer.TraceSynchronousWorkStart 方法

定義

指出指定的非同步作業正在呼叫 TraceSynchronousWorkStart 方法的執行緒上排程同步工作。

public:
 static void TraceSynchronousWorkStart(CausalityTraceLevel traceLevel, CausalitySource source, Platform::Guid platformId, unsigned long long operationId, CausalitySynchronousWork work);
 static void TraceSynchronousWorkStart(CausalityTraceLevel const& traceLevel, CausalitySource const& source, winrt::guid const& platformId, uint64_t const& operationId, CausalitySynchronousWork const& work);
public static void TraceSynchronousWorkStart(CausalityTraceLevel traceLevel, CausalitySource source, Guid platformId, ulong operationId, CausalitySynchronousWork work);
function traceSynchronousWorkStart(traceLevel, source, platformId, operationId, work)
Public Shared Sub TraceSynchronousWorkStart (traceLevel As CausalityTraceLevel, source As CausalitySource, platformId As Guid, operationId As ULong, work As CausalitySynchronousWork)

參數

traceLevel
CausalityTraceLevel

追蹤層級。

source
CausalitySource

追蹤來源。

platformId
Guid

Platform::Guid

winrt::guid

作業類型的識別碼。

operationId
UInt64

unsigned long long

uint64_t

在作業存留期的平臺內唯一之非同步作業的識別碼。

work
CausalitySynchronousWork

工作專案與非同步作業之間的關聯性。

適用於

另請參閱