ExpectedSqlExceptionAttribute.State Property
Gets or sets the expected error state of the error.
Namespace: Microsoft.Data.Tools.Schema.Sql.UnitTesting
Assembly: Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)
Syntax
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
Property Value
Type: System.Byte
The expected state of the error.
Remarks
If not supplied, the state from the thrown exception is ignored.
See Also
ExpectedSqlExceptionAttribute Class
Microsoft.Data.Tools.Schema.Sql.UnitTesting Namespace
Return to top