IdeaBlade.Core Assembly > IdeaBlade.Core Namespace : TracePublisher Class |
'Declaration
<ServiceBehaviorAttribute(ConfigurationName="TracePublisher", ConcurrencyMode=ConcurrencyMode.Multiple, InstanceContextMode=InstanceContextMode.Single)> Public Class TracePublisher Inherits System.MarshalByRefObject Implements System.IDisposable
'Usage
Dim instance As TracePublisher
[ServiceBehavior(ConfigurationName="TracePublisher", ConcurrencyMode=ConcurrencyMode.Multiple, InstanceContextMode=InstanceContextMode.Single)] public class TracePublisher : System.MarshalByRefObject, System.IDisposable
DevForce applications generally do not work directly with the TracePublisher, except in advanced implementations where a custom subscriber is needed (see TraceSubscriber for more information.) You may, however, find you need to override some of the defaults used by the TracePublisher, most notably the default port. You override defaults using the logging element in the IdeaBlade configuration file.
The TracePublisher uses Windows Communication Foundation when hosted as a service for remote subscribers. By default, the communication channel uses NetTcpBinding, no security, and turns off reliable sessions. To override these defaults you must create an entry for this service in the serviceModel section of the configuration file.
System.Object
System.MarshalByRefObject
IdeaBlade.Core.TracePublisher
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2