ContractFailedEventArgs Constructor
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Provides data for the Contract.ContractFailed event.
Assembly: mscorlib (in mscorlib.dll)
public ContractFailedEventArgs( ContractFailureKind failureKind, string message, string condition, Exception originalException )
Parameters
- failureKind
- Type: System.Diagnostics.Contracts.ContractFailureKind
One of the enumeration values that specifies the contract that failed.
- message
- Type: System.String
The message for the event.
- condition
- Type: System.String
The condition for the event.
- originalException
- Type: System.Exception
The exception that caused the event.
Show: