ThrowsConstraint.Matches 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| Matches(Object) |
執行委派的程式碼,並擷取任何例外狀況。 如果提供了非 Null 基底條件約束,則會將該條件約束套用至例外狀況。 |
| Matches<T>(ActualValueDelegate<T>) |
Matches<T>(ActualValueDelegate<T>)
public override bool Matches<T>(NUnit.Framework.Constraints.ActualValueDelegate<T> del);
override this.Matches : NUnit.Framework.Constraints.ActualValueDelegate<'T> -> bool
類型參數
- T