IComponentDesignerDebugService 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在设计时环境中提供调试服务。
public interface class IComponentDesignerDebugService
public interface IComponentDesignerDebugService
type IComponentDesignerDebugService = interface
Public Interface IComponentDesignerDebugService
属性
| 名称 | 说明 |
|---|---|
| IndentLevel |
获取或设置调试输出的缩进级别。 |
| Listeners |
获取用于监视设计时调试输出的跟踪侦听器的集合。 |
方法
| 名称 | 说明 |
|---|---|
| Assert(Boolean, String) |
在设计时环境中的条件上断言。 |
| Fail(String) |
在设计时环境中记录故障消息。 |
| Trace(String, String) |
在设计时环境中记录调试消息。 |