DevForce Help Reference
VerifierContext Class
Members 


Provides information about the processing of a specific VerifierEngine.Execute.
Object Model
VerifierContext ClassVerifier ClassVerifierEngine ClassVerifierResultCollection ClassVerifierResult Class
Syntax
'Declaration
 
Public Class VerifierContext 
'Usage
 
Dim instance As VerifierContext
public 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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

VerifierContext Members
IdeaBlade.Validation Namespace

Send Feedback