VsValidationContext Members

The VsValidationContext type exposes the following members.

Constructors

  Name Description
Public method VsValidationContext Overloaded.

Top

Methods

  Name Description
Protected method ConstructValidationMessage (Overrides ValidationContext.ConstructValidationMessage(String, String, ViolationType, []).)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetCache Overloaded.
Protected method GetDiagramNavigationCommands
Public method GetDiagramNavigationTargets
Protected method GetDiagramNavigationTargetSubstitutes
Protected method GetExplorerNavigationCommand
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetNavigationCommands
Public method GetNavigationProxyModelElements (Overrides ValidationContext.GetNavigationProxyModelElements(ModelElement).)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method LogError Creates a validation error and logs a message into the collection that the validation context maintains. (Inherited from ValidationContext.)
Public method LogFatal Creates a fatal error for validation and logs a message in the validation context. (Inherited from ValidationContext.)
Public method LogMessage Creates a validation information message and logs it into the collection that the validation context maintains. (Inherited from ValidationContext.)
Public method LogViolation Creates a validation error, message, or warning. (Inherited from ValidationContext.)
Public method LogWarning Creates a validation warning and logs the message into the collection that the validation context maintains. (Inherited from ValidationContext.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method OnDeleteTask
Public method OnNavigateToTask
Public method SetCacheValue<T> (Inherited from ValidationContext.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Public method TryGetCacheValue<T> (Inherited from ValidationContext.)

Top

Properties

  Name Description
Public property Categories Gets the validation categories for this validation context. (Inherited from ValidationContext.)
Public property CurrentViolations Gets the collection of validation messages for the validation context. (Inherited from ValidationContext.)
Public property CustomCategories Gets the custom validation strings for the validation context. (Inherited from ValidationContext.)
Public property ModelExplorerToolWindow
Public property ServiceProvider
Public property ValidationSubjects Gets the list of model elements to validate. (Inherited from ValidationContext.)

Top

See Also

Reference

VsValidationContext Class

Microsoft.VisualStudio.Modeling.Shell Namespace