Partager via


ITracingService Interface

Definition

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

Remarks

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 Dataverse 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.

Methods

Trace(String, Object[])

Logs trace information.

Applies to