Udostępnij za pośrednictwem


CausalityRelation Enum

Definition

Tracks ways that synchronous work items may interact with asynchronous operations.

public enum class CausalityRelation
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class CausalityRelation
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum CausalityRelation
var value = Windows.Foundation.Diagnostics.CausalityRelation.assignDelegate
Public Enum CausalityRelation
Inheritance
CausalityRelation
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
AssignDelegate 0

Indicates that a synchronous work items has assigned a callback or continuation to be run by an asynchronous operation.

Join 1

Indicates that a synchronous work item has satisfied part of a join asynchronous operation.

Choice 2

Indicates that a synchronous work item has satisfied a choice asynchronous operation.

Cancel 3

Indicates that a synchronous work item was canceled.

Error 4

Indicates that a synchronous work item caused an error in an asynchronous operation.

Applies to

See also