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
- 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.