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
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
ExpectedSqlExceptionAttribute Clase
ExpectedSqlExceptionAttribute (Sobrecarga)