Share via


PexAllowedExceptionFromTypeAttribute Constructors

Definition

Overloads

PexAllowedExceptionFromTypeAttribute(Type, Type)

Initializes a new instance of the PexAllowedExceptionFromTypeAttribute class.

PexAllowedExceptionFromTypeAttribute(Type, Type, String)

Initializes a new instance of the PexAllowedExceptionFromTypeAttribute class.

PexAllowedExceptionFromTypeAttribute(Type, Type)

Initializes a new instance of the PexAllowedExceptionFromTypeAttribute class.

public:
 PexAllowedExceptionFromTypeAttribute(Type ^ allowedExceptionType, Type ^ sourceType);
public PexAllowedExceptionFromTypeAttribute (Type allowedExceptionType, Type sourceType);
new Microsoft.Pex.Framework.Validation.PexAllowedExceptionFromTypeAttribute : Type * Type -> Microsoft.Pex.Framework.Validation.PexAllowedExceptionFromTypeAttribute
Public Sub New (allowedExceptionType As Type, sourceType As Type)

Parameters

allowedExceptionType
Type

Type of the allowed exception.

sourceType
Type

Type of the source.

Applies to

PexAllowedExceptionFromTypeAttribute(Type, Type, String)

Initializes a new instance of the PexAllowedExceptionFromTypeAttribute class.

public:
 PexAllowedExceptionFromTypeAttribute(Type ^ allowedExceptionType, Type ^ typeOfAssembly, System::String ^ sourceTypeFullName);
public PexAllowedExceptionFromTypeAttribute (Type allowedExceptionType, Type typeOfAssembly, string sourceTypeFullName);
new Microsoft.Pex.Framework.Validation.PexAllowedExceptionFromTypeAttribute : Type * Type * string -> Microsoft.Pex.Framework.Validation.PexAllowedExceptionFromTypeAttribute
Public Sub New (allowedExceptionType As Type, typeOfAssembly As Type, sourceTypeFullName As String)

Parameters

allowedExceptionType
Type

Type of the allowed exception.

typeOfAssembly
Type

The type of assembly.

sourceTypeFullName
String

Full name of the source type.

Applies to