Partager via


ITracingService Interface

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

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

Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

'Declaration
Public Interface ITracingService
public interface ITracingService

Remarks

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.

Platforms

Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),

See Also

Reference

ITracingService Members
Microsoft.Xrm.Sdk Namespace

Other Resources

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