ValidationContext Methods
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
| Name | Description | |
|---|---|---|
![]() | ConstructValidationMessage(String^, String^, ViolationType, array<ModelElement^>^) | Constructs a validation message. You can override this method to construct a custom validation message. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetCache<T>() | Gets the cache for the specified class. |
![]() | GetCache<T>(String^) | Gets the cache for the specified class. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetNavigationProxyModelElements(ModelElement^) | Gets the proxy model elements when a validation error occurs in the model. |
![]() | GetType() | (Inherited from Object.) |
![]() | LogError(String^, String^, array<ModelElement^>^) | Creates a validation error and logs a message into the collection that the validation context maintains. |
![]() | LogFatal(String^, String^, array<ModelElement^>^) | Creates a fatal error for validation and logs a message in the validation context. |
![]() | LogMessage(String^, String^, array<ModelElement^>^) | Creates a validation information message and logs it into the collection that the validation context maintains. |
![]() | LogViolation(ViolationType, String^, String^, array<ModelElement^>^) | Creates a validation error, message, or warning. |
![]() | LogWarning(String^, String^, array<ModelElement^>^) | Creates a validation warning and logs the message into the collection that the validation context maintains. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | SetCacheValue<T>(String^, T) | Set the cached object associated with the name |
![]() | ToString() | (Inherited from Object.) |
![]() | TryGetCacheValue<T>(String^, T) | Returns whether the cached object associated with the name exist or not |

