初始化 ExpectedSqlExceptionAttribute 類別的新執行個體。
命名空間: Microsoft.Data.Tools.Schema.Sql.UnitTesting
組件: Microsoft.Data.Tools.Schema.Sql.UnitTesting (在 Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll 中)
語法
public ExpectedSqlExceptionAttribute(
string noExceptionMessage
)
public:
ExpectedSqlExceptionAttribute(
String^ noExceptionMessage
)
new :
noExceptionMessage:string -> ExpectedSqlExceptionAttribute
Public Sub New (
noExceptionMessage As String
)
參數
noExceptionMessage
Type: System.String在沒有擲回例外狀況時出現的預設錯誤訊息。
請參閱
ExpectedSqlExceptionAttribute
ExpectedSqlExceptionAttribute 類別
Microsoft.Data.Tools.Schema.Sql.UnitTesting 命名空間
回到頁首