ITracingService Interface

 

Updated: January 15, 2016

Applies To: Dynamics CRM 2015

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)

Public Interface ITracingService

NameDescription
System_CAPS_pubmethodTrace(String, Object())

Logs trace information.

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.

Return to top

© 2016 Microsoft. All rights reserved. Copyright

Show: