ValidationController.RemoveObserver Method
Removes the observer from the list of observers for the controller.
Namespace: Microsoft.VisualStudio.Modeling.Validation
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Déclaration
Public Sub RemoveObserver ( _
observer As ValidationMessageObserver _
)
public void RemoveObserver(
ValidationMessageObserver observer
)
public:
void RemoveObserver(
ValidationMessageObserver^ observer
)
member RemoveObserver :
observer:ValidationMessageObserver -> unit
public function RemoveObserver(
observer : ValidationMessageObserver
)
Parameters
- observer
Type: Microsoft.VisualStudio.Modeling.Validation.ValidationMessageObserver
A ValidationMessageObserver.
Remarks
The observer removed from the list of observers will no longer be notified when messages are added to or removed from the list of messages for the controller.
.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.