Partager via


ExpectedSqlExceptionAttribute, constructeur (String)

 

Initialise une nouvelle instance de la classe ExpectedSqlExceptionAttribute.

Espace de noms:   Microsoft.Data.Tools.Schema.Sql.UnitTesting
Assembly:  Microsoft.Data.Tools.Schema.Sql.UnitTesting (dans Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)

Syntaxe

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

Paramètres

  • noExceptionMessage
    Type: System.String

    Message d'erreur par défaut si aucune exception n'est levée.

Voir aussi

ExpectedSqlExceptionAttribute
ExpectedSqlExceptionAttribute, classe
Microsoft.Data.Tools.Schema.Sql.UnitTesting, espace de noms

Retour au début