ExpectedExceptionAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
ExpectedExceptionAttribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public class ExpectedExceptionAttribute : NUnit.Framework.NUnitAttribute
type ExpectedExceptionAttribute = class
inherit NUnitAttribute
- 繼承
- 屬性
建構函式
| ExpectedExceptionAttribute() |
非特定例外狀況的建構函式 |
| ExpectedExceptionAttribute(String) |
ExpectedExceptionAttribute |
| ExpectedExceptionAttribute(Type) |
指定例外狀況類型的建構函式 |
屬性
| ExceptionData |
ExpectedExceptionAttribute |
| ExpectedException |
ExpectedExceptionAttribute |
| ExpectedExceptionName |
ExpectedExceptionAttribute |
| ExpectedMessage |
ExpectedExceptionAttribute |
| Handler |
ExpectedExceptionAttribute |
| MatchType |
ExpectedExceptionAttribute |
| UserMessage |
ExpectedExceptionAttribute |