Bagikan melalui


ExpectedSqlExceptionAttribute Constructor (String)

 

Initializes a new instance of the ExpectedSqlExceptionAttribute class.

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

Syntax

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

Parameters

  • noExceptionMessage
    Type: System.String

    The default error message if no exception is thrown.

See Also

ExpectedSqlExceptionAttribute
ExpectedSqlExceptionAttribute Class
Microsoft.Data.Tools.Schema.Sql.UnitTesting Namespace

Return to top