Edit

Share via


IExpectException Interface

Definition

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

Applies to