Propriété ExpectedSqlExceptionAttribute.State
Obtient ou définit l'état d'erreur attendu de l'erreur.
Espace de noms: Microsoft.Data.Tools.Schema.Sql.UnitTesting
Assembly: Microsoft.Data.Tools.Schema.Sql.UnitTesting (dans Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)
Syntaxe
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
Valeur de propriété
Type: System.Byte
État attendu de l'erreur.
Notes
S'il n'est pas fourni, l'état de l'exception levée est ignoré.
Voir aussi
ExpectedSqlExceptionAttribute, classe
Microsoft.Data.Tools.Schema.Sql.UnitTesting, espace de noms
Retour au début