Share via


ValidationMessage.Context Property

Gets the context information for a validation message.

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

Syntax

'Declaration
Public ReadOnly Property Context As ValidationContext
public ValidationContext Context { get; }
public:
property ValidationContext^ Context {
    ValidationContext^ get ();
}
member Context : ValidationContext with get
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

Microsoft.VisualStudio.Modeling.Validation Namespace