VsShellUtilities.IsSolutionBuilding(IServiceProvider) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定生成管理器是否忙。
public:
static bool IsSolutionBuilding(IServiceProvider ^ serviceProvider);
public static bool IsSolutionBuilding (IServiceProvider serviceProvider);
static member IsSolutionBuilding : IServiceProvider -> bool
Public Shared Function IsSolutionBuilding (serviceProvider As IServiceProvider) As Boolean
Public Function IsSolutionBuilding (serviceProvider As IServiceProvider) As Boolean
参数
- serviceProvider
- IServiceProvider
服务提供程序
返回
如果解决方案正在生成或部署,则为 true。