Share via


ValidationMessage.Context Property

Gets the context information for a validation message.

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

Syntax

'Declaration
Public ReadOnly Property Context As ValidationContext
'Usage
Dim instance As ValidationMessage 
Dim value As ValidationContext 

value = instance.Context
public ValidationContext Context { get; }
public:
property ValidationContext^ Context {
    ValidationContext^ get ();
}
public function get Context () : ValidationContext

Property Value

Type: Microsoft.VisualStudio.Modeling.Validation.ValidationContext
A ValidationContext object that has information about the context of the ValidationMessage.

Remarks

The ValidationContext object is passed into each validation method that is called.

.NET Framework Security

See Also

Reference

ValidationMessage Class

ValidationMessage Members

Microsoft.VisualStudio.Modeling.Validation Namespace