FailureKind Property
Collapse the table of content
Expand the table of content

ContractFailedEventArgs.FailureKind Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the type of contract that failed.

Namespace:  System.Diagnostics.Contracts
Assembly:  mscorlib (in mscorlib.dll)

public ContractFailureKind FailureKind { get; }

Property Value

Type: System.Diagnostics.Contracts.ContractFailureKind
One of the enumeration values that specifies the type of contract that failed.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft