ValidationMessageObserver.OnValidationBeginning Method
Indicates that validation is about to begin.
Namespace: Microsoft.VisualStudio.Modeling.Validation
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Protected Overridable Sub OnValidationBeginning ( _
context As ValidationContext _
)
protected virtual void OnValidationBeginning(
ValidationContext context
)
protected:
virtual void OnValidationBeginning(
ValidationContext^ context
)
abstract OnValidationBeginning :
context:ValidationContext -> unit
override OnValidationBeginning :
context:ValidationContext -> unit
protected function OnValidationBeginning(
context : ValidationContext
)
Parameters
context
Type: Microsoft.VisualStudio.Modeling.Validation.ValidationContextThe context for the validation messages.
Remarks
The validation context contains information that you can use or change in the body of the method that you write. The context contains all of the validation messages that have been added to the list during the current validation session.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.