共用方式為


ValidationMessageObserver.OnValidationBeginning Method

Indicates that validation is about to begin.

Namespace:  Microsoft.VisualStudio.Modeling.Validation
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
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

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

See Also

Reference

ValidationMessageObserver Class

Microsoft.VisualStudio.Modeling.Validation Namespace