Udostępnij za pośrednictwem


CausalitySource Enum

Definition

Provides flags that listeners use to filter tracing events.

public enum class CausalitySource
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class CausalitySource
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum CausalitySource
var value = Windows.Foundation.Diagnostics.CausalitySource.application
Public Enum CausalitySource
Inheritance
CausalitySource
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Application 0

Indicates causality information generated by app-defined asynchronous operations.

Library 1

Indicates causality information generated by language projections or asynchronous infrastructure libraries.

System 2

Indicates causality information generated by Windows.

Remarks

The CausalitySource flags describe which architectural layer of the app is producing causality information.

Applies to

See also