ExpectedSqlExceptionAttribute-Konstruktor (String)

Initialisiert eine neue Instanz der ExpectedSqlExceptionAttribute-Klasse.

Namespace:  Microsoft.Data.Schema.UnitTesting
Assembly:  Microsoft.Data.Schema.UnitTesting (in Microsoft.Data.Schema.UnitTesting.dll)

Syntax

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

Parameter

  • noExceptionMessage
    Typ: System.String
    Die Standardfehlermeldung, wenn keine Ausnahme ausgelöst wird.

.NET Framework-Sicherheit

Siehe auch

Referenz

ExpectedSqlExceptionAttribute Klasse

ExpectedSqlExceptionAttribute-Überladung

Microsoft.Data.Schema.UnitTesting-Namespace

ExpectedSqlExceptionAttribute