AsyncCausalityTracer.TraceSynchronousWorkStart 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指出指定的非同步作業正在呼叫 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
在作業存留期的平臺內唯一之非同步作業的識別碼。
工作專案與非同步作業之間的關聯性。