ValidationController.ClearMessages Method
Removes all error and warning messages from the controller.
Namespace: Microsoft.VisualStudio.Modeling.Validation
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣告
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.