
Visual Basic (Declaration) | |
---|---|
<ServiceBehaviorAttribute(ConfigurationName="TracePublisher", ConcurrencyMode=ConcurrencyMode.Multiple, InstanceContextMode=InstanceContextMode.Single)> Public Class TracePublisher Inherits System.MarshalByRefObject Implements System.IDisposable |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As TracePublisher |
C# | |
---|---|
[ServiceBehaviorAttribute(ConfigurationName="TracePublisher", ConcurrencyMode=ConcurrencyMode.Multiple, InstanceContextMode=InstanceContextMode.Single)] public class TracePublisher : System.MarshalByRefObject, System.IDisposable |
C++/CLI | |
---|---|
[ServiceBehaviorAttribute(ConfigurationName="TracePublisher", ConcurrencyMode=ConcurrencyMode.Multiple, InstanceContextMode=InstanceContextMode.Single)] public ref class TracePublisher : public 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family