共用方式為


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

屬性值

一個列舉值,指定失敗之合約的型別。

適用於