Compartir a través de


ExpectedSqlExceptionAttribute (Constructor) (String)

Inicializa una nueva instancia de la clase ExpectedSqlExceptionAttribute.

Espacio de nombres:  Microsoft.Data.Schema.UnitTesting
Ensamblado:  Microsoft.Data.Schema.UnitTesting (en Microsoft.Data.Schema.UnitTesting.dll)

Sintaxis

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

Parámetros

  • noExceptionMessage
    Tipo: System.String
    Mensaje de error predeterminado si no se produce ninguna excepción.

Seguridad de .NET Framework

Vea también

Referencia

ExpectedSqlExceptionAttribute Clase

ExpectedSqlExceptionAttribute (Sobrecarga)

Microsoft.Data.Schema.UnitTesting (Espacio de nombres)

ExpectedSqlExceptionAttribute