ValidationContext Methods

 

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

NameDescription
System_CAPS_protmethodConstructValidationMessage(String^, String^, ViolationType, array<ModelElement^>^)

Constructs a validation message. You can override this method to construct a custom validation message.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetCache<T>()

Gets the cache for the specified class.

System_CAPS_pubmethodGetCache<T>(String^)

Gets the cache for the specified class.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetNavigationProxyModelElements(ModelElement^)

Gets the proxy model elements when a validation error occurs in the model.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodLogError(String^, String^, array<ModelElement^>^)

Creates a validation error and logs a message into the collection that the validation context maintains.

System_CAPS_pubmethodLogFatal(String^, String^, array<ModelElement^>^)

Creates a fatal error for validation and logs a message in the validation context.

System_CAPS_pubmethodLogMessage(String^, String^, array<ModelElement^>^)

Creates a validation information message and logs it into the collection that the validation context maintains.

System_CAPS_pubmethodLogViolation(ViolationType, String^, String^, array<ModelElement^>^)

Creates a validation error, message, or warning.

System_CAPS_pubmethodLogWarning(String^, String^, array<ModelElement^>^)

Creates a validation warning and logs the message into the collection that the validation context maintains.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSetCacheValue<T>(String^, T)

Set the cached object associated with the name

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTryGetCacheValue<T>(String^, T)

Returns whether the cached object associated with the name exist or not

Return to top
Show: