PexExceptionValidatorAttributeBase.IsExceptionDocumented 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.
Determines whether the exception is documented on any method present in the stack trace
protected:
Microsoft::Pex::Engine::Exceptions::PexExceptionState IsExceptionDocumented(Microsoft::ExtendedReflection::Metadata::TypeEx ^ exceptionType, cli::array <Microsoft::ExtendedReflection::Metadata::MethodDefinition ^> ^ stackMethods);
protected Microsoft.Pex.Engine.Exceptions.PexExceptionState IsExceptionDocumented (Microsoft.ExtendedReflection.Metadata.TypeEx exceptionType, Microsoft.ExtendedReflection.Metadata.MethodDefinition[] stackMethods);
member this.IsExceptionDocumented : Microsoft.ExtendedReflection.Metadata.TypeEx * Microsoft.ExtendedReflection.Metadata.MethodDefinition[] -> Microsoft.Pex.Engine.Exceptions.PexExceptionState
Protected Function IsExceptionDocumented (exceptionType As TypeEx, stackMethods As MethodDefinition()) As PexExceptionState
Parameters
- exceptionType
- Microsoft.ExtendedReflection.Metadata.TypeEx
Type of the exception.
- stackMethods
- Microsoft.ExtendedReflection.Metadata.MethodDefinition[]
methods from the stack
Returns
Microsoft.Pex.Engine.Exceptions.PexExceptionState
Returns Microsoft.Pex.Engine.Exceptions.PexExceptionState.