ITracingService 接口

应用到: CRM 2015 on-prem, CRM Online

Provides a method of logging run-time trace information for plug-ins.

命名空间: Microsoft.Xrm.Sdk
程序集: Microsoft.Xrm.Sdk (在 Microsoft.Xrm.Sdk.dll 中)

语法

声明
Public Interface ITracingService
public interface ITracingService

备注

A reference to a tracing service implementation can be obtained from the service provider passed to plug-in’s Execute method.

The ITracingService interface provides a way to log plug-in run-time information. This method of logging information is especially useful for sandboxed plug-ins registered with Microsoft Dynamics CRM ​​Online that cannot otherwise be debugged using a debugger.

The tracing information is displayed in a dialog of the Microsoft Dynamics CRM Web application only if an exception is passed from a plug-in back to the platform.

平台

开发平台

Windows Vista、Windows Server 2003 和

目标平台

Windows Vista,Windows XP

另请参阅

参考

ITracingService 成员
Microsoft.Xrm.Sdk 命名空间

其他资源

Debug a Plug-in
Sample: Web Access from a Sandboxed Plug-in
Plug-in Isolation, Trust, and Statistics

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.