IdeaBlade DevForce 2010 Help Reference
VerifierContext Class
Members  See Also  Send Feedback
IdeaBlade.Validation Assembly > IdeaBlade.Validation Namespace : VerifierContext Class



Provides information about the processing of a specific VerifierEngine.Execute.

Object Model

VerifierContext ClassVerifier ClassVerifierEngine ClassVerifierResultCollection ClassVerifierResult Class

Syntax

Visual Basic (Declaration) 
Public Class VerifierContext 
Visual Basic (Usage)Copy Code
Dim instance As VerifierContext
C# 
public class VerifierContext 
C++/CLI 
public ref class VerifierContext 

Remarks

The VerifierContext provides several facilities. First, it may be used to pass custom context information into a Verifier via the CustomContext property. It may also be used within the verifier to see the results of any previously executed verifiers within the current VerifierEngine batch via the VerifierResults property. A batch is defined as the list of all of the verifiers executing within a single VerifierEngine.Execute method call. The VerifierErrorContinuationMode may be used to terminate the execution of the batch by setting the ErrorContinuationMode property to VerifierErrorContinuationMode.Stop and returning an “errant” VerifierResult. Lastly, the BatchContext property may be used to build up any cumulative data that we want passed to the next verifier within the current batch. The first verifier in a batch will always receive a null BatchContext.

The default VerifierContext that is provided by the VerifierEngine when no explicit VerifierContext is specified is constructed automatically by the engine using the VerifierOptions.ErrorContinuationMode and VerifierEngine.DefaultCustomContext properties on the VerifierEngine.

Inheritance Hierarchy

System.Object
   IdeaBlade.Validation.VerifierContext

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.