Compartilhar via


PexExceptionValidatorAttributeBase.IsExceptionValid(Exception) Method

Definition

Determines whether the exception instance is allowed.

protected:
 virtual bool IsExceptionValid(Exception ^ ex);
protected virtual bool IsExceptionValid (Exception ex);
abstract member IsExceptionValid : Exception -> bool
override this.IsExceptionValid : Exception -> bool
Protected Overridable Function IsExceptionValid (ex As Exception) As Boolean

Parameters

ex
Exception

The ex.

Returns

Returns Boolean.

Applies to