Partilhar via


VsShellUtilities.GetDebugMode(IServiceProvider) Method

Definition

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.

Applies to