PexExceptionValidatorAttributeBase.MarkTest Method
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.
Gets the opportunity to annotate the test with more information about the exception. By default, does nothing.
public:
virtual void MarkTest(Exception ^ exception, Microsoft::ExtendedReflection::Metadata::Builders::MethodDefinitionBuilder ^ testMethod);
public virtual void MarkTest (Exception exception, Microsoft.ExtendedReflection.Metadata.Builders.MethodDefinitionBuilder testMethod);
abstract member MarkTest : Exception * Microsoft.ExtendedReflection.Metadata.Builders.MethodDefinitionBuilder -> unit
override this.MarkTest : Exception * Microsoft.ExtendedReflection.Metadata.Builders.MethodDefinitionBuilder -> unit
Public Overridable Sub MarkTest (exception As Exception, testMethod As MethodDefinitionBuilder)
Parameters
- exception
- Exception
exception that was caught, if any (may be null)
- testMethod
- Microsoft.ExtendedReflection.Metadata.Builders.MethodDefinitionBuilder
Implements
Microsoft.Pex.Engine.Exceptions.IPexExceptionValidator.MarkTest(System.Exception,Microsoft.ExtendedReflection.Metadata.Builders.MethodDefinitionBuilder)