ValidationMessage.Context Property
Gets the context information for a validation message.
Namespace: Microsoft.VisualStudio.Modeling.Validation
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Dichiarazione
Public ReadOnly Property Context As ValidationContext
Get
public ValidationContext Context { get; }
public:
property ValidationContext^ Context {
ValidationContext^ get ();
}
member Context : ValidationContext
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.