Sdílet prostřednictvím


ExpectedSqlExceptionAttribute – konstruktor (String)

Inicializuje novou instanci ExpectedSqlExceptionAttribute Třída

Obor názvů:  Microsoft.Data.Schema.UnitTesting
Sestavení:  Microsoft.Data.Schema.UnitTesting (v Microsoft.Data.Schema.UnitTesting.dll)

Syntaxe

'Deklarace
Public Sub New ( _
    noExceptionMessage As String _
)
public ExpectedSqlExceptionAttribute(
    string noExceptionMessage
)
public:
ExpectedSqlExceptionAttribute(
    String^ noExceptionMessage
)
new : 
        noExceptionMessage:string -> ExpectedSqlExceptionAttribute
public function ExpectedSqlExceptionAttribute(
    noExceptionMessage : String
)

Parametry

  • noExceptionMessage
    Typ: System.String
    Výchozí chybovou zprávu v případě, že žádná výjimka.

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

ExpectedSqlExceptionAttribute Třída

ExpectedSqlExceptionAttribute – přetížení

Microsoft.Data.Schema.UnitTesting – obor názvů

ExpectedSqlExceptionAttribute