Udostępnij za pośrednictwem


PexAllowedExceptionAttribute Constructors

Definition

Overloads

PexAllowedExceptionAttribute(Type)

Initializes a new instance of the PexAllowedExceptionAttribute class.

PexAllowedExceptionAttribute(String, String)

Initializes a new instance of the PexAllowedExceptionAttribute class.

PexAllowedExceptionAttribute(Type)

Initializes a new instance of the PexAllowedExceptionAttribute class.

public:
 PexAllowedExceptionAttribute(Type ^ exceptionType);
public PexAllowedExceptionAttribute (Type exceptionType);
new Microsoft.Pex.Framework.Validation.PexAllowedExceptionAttribute : Type -> Microsoft.Pex.Framework.Validation.PexAllowedExceptionAttribute
Public Sub New (exceptionType As Type)

Parameters

exceptionType
Type

Type of the exception.

Applies to

PexAllowedExceptionAttribute(String, String)

Initializes a new instance of the PexAllowedExceptionAttribute class.

public:
 PexAllowedExceptionAttribute(System::String ^ assemblyName, System::String ^ exceptionFullTypeName);
public PexAllowedExceptionAttribute (string assemblyName, string exceptionFullTypeName);
new Microsoft.Pex.Framework.Validation.PexAllowedExceptionAttribute : string * string -> Microsoft.Pex.Framework.Validation.PexAllowedExceptionAttribute
Public Sub New (assemblyName As String, exceptionFullTypeName As String)

Parameters

assemblyName
String

assembly of the exception

exceptionFullTypeName
String

exception type full name

Applies to