語言

ExpectedSqlExceptionAttribute 類別

定義

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public class ExpectedSqlExceptionAttribute : Microsoft.VisualStudio.TestTools.UnitTesting.ExpectedExceptionBaseAttribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type ExpectedSqlExceptionAttribute = class
    inherit ExpectedExceptionBaseAttribute
Public Class ExpectedSqlExceptionAttribute
Inherits ExpectedExceptionBaseAttribute
繼承
ExpectedSqlExceptionAttribute
衍生
屬性

建構函式

名稱 Description
ExpectedSqlExceptionAttribute()
ExpectedSqlExceptionAttribute(String)

屬性

名稱 Description
MatchFirstError
MessageNumber
Severity
State

方法

名稱 Description
Verify(Exception)

適用於