VsShellUtilities.GetDebugMode(IServiceProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the current debug mode of the shell, for example, design mode, running mode, or break mode.
public:
static Microsoft::VisualStudio::Shell::Interop::DBGMODE GetDebugMode(IServiceProvider ^ serviceProvider);
public static Microsoft.VisualStudio.Shell.Interop.DBGMODE GetDebugMode (IServiceProvider serviceProvider);
static member GetDebugMode : IServiceProvider -> Microsoft.VisualStudio.Shell.Interop.DBGMODE
Public Shared Function GetDebugMode (serviceProvider As IServiceProvider) As DBGMODE
Public Function GetDebugMode (serviceProvider As IServiceProvider) As DBGMODE
Parameters
- serviceProvider
- IServiceProvider
The service provider.
Returns
A DBGMODE enumeration.