ValidationController.ClearMessages Method
Removes all messages from the controller.
Namespace: Microsoft.VisualStudio.Modeling.Validation
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Public Overridable Sub ClearMessages
'Usage
Dim instance As ValidationController
instance.ClearMessages()
public virtual void ClearMessages()
public:
virtual void ClearMessages()
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.