Share via


ModelingErrorListProvider.SuspendRefresh Method

Prevents the error list from updating synchronously each time an item is added. Calling SuspendRefresh before adding a large number of items to the error list results in better performance.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Syntax

'Declaration
Public Sub SuspendRefresh
public void SuspendRefresh()
public:
void SuspendRefresh()
member SuspendRefresh : unit -> unit
public function SuspendRefresh()

.NET Framework Security

See Also

Reference

ModelingErrorListProvider Class

Microsoft.VisualStudio.Modeling.Shell Namespace