VsShellUtilities::IsInAutomationFunction Method (IServiceProvider^)
Visual Studio 2015
Determines whether the extensibility object is currently executing an automation operation.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- serviceProvider
- Type: System::IServiceProvider^
Return Value
Type: System::Booleantrue if the extensibility object is executing an automation operation; otherwise, false.
This method is typically called to determine whether to display a message box or other model window. Because these windows require a response from the user, they should be suppressed during automation operations.
Show: