IExpectException Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Interface implemented by a user fixture in order to validate any expected exceptions. It is only called for test methods marked with the ExpectedException attribute.
public interface IExpectException
type IExpectException = interface
Methods
HandleException(Exception) |
Method to handle an expected exception |