Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- 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.