ITracingService Interface


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

public interface class ITracingService
public interface ITracingService
type ITracingService = interface
Public Interface ITracingService


A reference to a tracing service implementation can be obtained from the service provider passed to plug-in’s Execute(IServiceProvider) 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 365 (online) that cannot otherwise be debugged using a debugger.

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


Trace(String, Object[])

Logs trace information.

Applies to