ContractFailedEventArgs.FailureKind 属性

定义

获取失败的协定的类型。

public:
 property System::Diagnostics::Contracts::ContractFailureKind FailureKind { System::Diagnostics::Contracts::ContractFailureKind get(); };
public System.Diagnostics.Contracts.ContractFailureKind FailureKind { get; }
member this.FailureKind : System.Diagnostics.Contracts.ContractFailureKind
Public ReadOnly Property FailureKind As ContractFailureKind

属性值

用于指定失败的协定的类型的枚举值之一。

适用于