ValidationController.ClearMessages Method
Removes all error and warning messages from the controller.
Namespace: Microsoft.VisualStudio.Modeling.Validation
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Overridable Sub ClearMessages
public virtual void ClearMessages()
public:
virtual void ClearMessages()
abstract ClearMessages : unit -> unit
override ClearMessages : unit -> unit
public function ClearMessages()
Remarks
After this method is called, the collection of messages for the controller should be empty.
.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.