取得或設定錯誤的預期錯誤狀態。
命名空間: Microsoft.Data.Tools.Schema.Sql.UnitTesting
組件: Microsoft.Data.Tools.Schema.Sql.UnitTesting (在 Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll 中)
語法
public byte State { get; set; }
public:
property unsigned char State {
unsigned char get();
void set(unsigned char value);
}
member State : byte with get, set
Public Property State As Byte
屬性值
Type: System.Byte
錯誤的預期狀態。
備註
如果未提供,就會忽略所擲回例外狀況的狀態。
請參閱
ExpectedSqlExceptionAttribute 類別
Microsoft.Data.Tools.Schema.Sql.UnitTesting 命名空間
回到頁首