ITracingService Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |