共用方式為


ITracingService 介面

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.

平台

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008、Windows Server 2012、Windows 7

請參閱

參照

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.
© 2015 Microsoft. All rights reserved.