Compartir a través de


IVsUpdateSolutionEvents4.OnActiveProjectCfgChangeBatchBegin Method

Fired to indicate that several OnActiveProjectCfgChange events will follow in rapid succession. OnActiveProjectCfgChangeBatchEnd is fired afterwards to indicate the end of batch.

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

Syntax

'Declaration
Sub OnActiveProjectCfgChangeBatchBegin
void OnActiveProjectCfgChangeBatchBegin()
void OnActiveProjectCfgChangeBatchBegin()
abstract OnActiveProjectCfgChangeBatchBegin : unit -> unit
function OnActiveProjectCfgChangeBatchBegin()

Remarks

Subscribers that handle OnActiveProjectCfgChange and do considerable work in response to it can use this method and OnActiveProjectCfgChangeBatchEnd to detect several consecutive configuration changes, and only do the work once for all of them, rather than recomputing for each separate event.

.NET Framework Security

See Also

Reference

IVsUpdateSolutionEvents4 Interface

Microsoft.VisualStudio.Shell.Interop Namespace