PexAllowedExceptionFromAssemblyAttribute Class
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.
Specifies an exception that is allowed to occur from a specified assembly. If the execption occurs, the generated test will be tagged with 'ExpectedException'.
public ref class PexAllowedExceptionFromAssemblyAttribute sealed : Microsoft::Pex::Framework::Validation::PexAllowedExceptionAttributeBase
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public sealed class PexAllowedExceptionFromAssemblyAttribute : Microsoft.Pex.Framework.Validation.PexAllowedExceptionAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
type PexAllowedExceptionFromAssemblyAttribute = class
inherit PexAllowedExceptionAttributeBase
Public NotInheritable Class PexAllowedExceptionFromAssemblyAttribute
Inherits PexAllowedExceptionAttributeBase
- Inheritance
-
PexAllowedExceptionFromAssemblyAttribute
- Attributes
Constructors
PexAllowedExceptionFromAssemblyAttribute(String, String, String) |
Initializes a new instance of the PexAllowedExceptionFromAssemblyAttribute class. |
PexAllowedExceptionFromAssemblyAttribute(Type, String) |
Initializes a new instance of the PexAllowedExceptionFromAssemblyAttribute class. |
PexAllowedExceptionFromAssemblyAttribute(Type, Type) |
Initializes a new instance of the PexAllowedExceptionFromAssemblyAttribute class. |
Properties
AcceptExceptionSubtypes |
Gets or sets a value that determines whether exception should be checked by equality or sub-typing (Inherited from PexAllowedExceptionAttributeBase) |
AcceptInnerException |
Gets or sets a value indicating whether inner exception should be inspected. (Inherited from PexExceptionValidatorAttributeBase) |
AllowedExceptionTypeDefinition |
Gets the expected type of the exception. (Inherited from PexAllowedExceptionAttributeBase) |
Description |
Describes what this validator does. (Inherited from PexAllowedExceptionAttributeBase) |
Documented |
Gets or sets a value indicating whether the exception type should be documented (Inherited from PexExceptionValidatorAttributeBase) |
Host |
Gets the exploration host (Inherited from PexExceptionValidatorAttributeBase) |
MessageFilter |
Gets or sets a message filter; uses the default naming conventions for filters. (Inherited from PexExceptionValidatorAttributeBase) |
Name |
Gets the name of this package. (Inherited from PexExplorationPackageAttributeBase) |
OnlyAtTypeUnderTestSurface |
Gets or sets whether this exception validator only applies to exceptions that have been thrown at the surface of the type-under-test. (Inherited from PexExceptionValidatorAttributeBase) |
SourceAssemblyName |
Gets the name of the source assembly. |
TrimStackTraceBeforeContractRuntime |
Gets or sets a value indicating whether the filtered stack trace should be cut before the first call to the Code Contract runtime method (Inherited from PexExceptionValidatorAttributeBase) |
TypeUnderTest |
Gets the type-under-test, if any. (Inherited from PexExceptionValidatorAttributeBase) |
WikiTopic |
Gets the wiki topic. (Inherited from PexExceptionValidatorAttributeBase) |