PexAllowedExceptionAttribute 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.
Allows the exception from any location
public ref class PexAllowedExceptionAttribute sealed : Microsoft::Pex::Framework::Validation::PexAllowedExceptionAttributeBase
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public sealed class PexAllowedExceptionAttribute : Microsoft.Pex.Framework.Validation.PexAllowedExceptionAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
type PexAllowedExceptionAttribute = class
inherit PexAllowedExceptionAttributeBase
Public NotInheritable Class PexAllowedExceptionAttribute
Inherits PexAllowedExceptionAttributeBase
- Inheritance
- Attributes
Constructors
PexAllowedExceptionAttribute(String, String) |
Initializes a new instance of the PexAllowedExceptionAttribute class. |
PexAllowedExceptionAttribute(Type) |
Initializes a new instance of the PexAllowedExceptionAttribute 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) |
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) |