Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the ExpectedSqlExceptionAttribute class.
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
)
Parameters
- noExceptionMessage
Type: System.String
The default error message if no exception is thrown.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ExpectedSqlExceptionAttribute Class
ExpectedSqlExceptionAttribute Overload