Condividi tramite


Proprietà ExpectedSqlExceptionAttribute.State

 

Ottiene o imposta lo stato dell'errore previsto.

Spazio dei nomi:   Microsoft.Data.Tools.Schema.Sql.UnitTesting
Assembly:  Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)

Sintassi

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

Valore proprietà

Type: System.Byte

Stato dell'errore previsto.

Note

Se non è fornito, lo stato dell'eccezione generata viene ignorato.

Vedere anche

Classe ExpectedSqlExceptionAttribute
Spazio dei nomi Microsoft.Data.Tools.Schema.Sql.UnitTesting

Torna all'inizio