Share via


ValidationController.RemoveObserver Method

Removes the observer from the list of observers for 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 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

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

See Also

Reference

ValidationController Class

Microsoft.VisualStudio.Modeling.Validation Namespace