ValidationMessageObserver.OnValidationEnded Method
Indicates that validation has ended.
Namespace: Microsoft.VisualStudio.Modeling.Validation
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
声明
Protected Overridable Sub OnValidationEnded ( _
context As ValidationContext _
)
protected virtual void OnValidationEnded(
ValidationContext context
)
protected:
virtual void OnValidationEnded(
ValidationContext^ context
)
abstract OnValidationEnded :
context:ValidationContext -> unit
override OnValidationEnded :
context:ValidationContext -> unit
protected function OnValidationEnded(
context : ValidationContext
)
Parameters
- context
Type: Microsoft.VisualStudio.Modeling.Validation.ValidationContext
The ValidationContext for the validation messages.
Remarks
The ValidationContext parameter 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.