DevForce Help Reference
TracePublisher Class Members
Fields  Properties  Methods 


The following tables list the members exposed by TracePublisher.

Public Fields
 NameDescription
Public FieldDefaultPort Default port. Currently 9922, but may be overridden in the IdeaBlade configuration file.  
Public FieldDefaultServiceName Default service name. Currently "TracePublisher", but may be overridden in the IdeaBlade configuration file.  
Top
Public Properties
 NameDescription
Public PropertyIsRemoted Returns whether the current instance is already remoted.  
Public Propertystatic (Shared in Visual Basic)LocalInstance Returns the singleton instance for this class.  
Public PropertyPort Port used by the service.  
Public PropertyServiceName Name of the service.  
Public PropertyThreadKeepAliveMilliseconds Milliseconds the publishing thread sleeps between checks of its queue. Default is 1000 milliseconds (1 second).  
Top
Public Methods
 NameDescription
Public MethodCreateObjRef (Inherited from System.MarshalByRefObject)
Public MethodDisposeOverloaded.   
Public MethodEquals (Inherited from object)
Public MethodGetHashCode (Inherited from object)
Public MethodGetLifetimeService (Inherited from System.MarshalByRefObject)
Public MethodGetPublisherUrl Returns the full Url.  
Public Methodstatic (Shared in Visual Basic)GetRemoteInstance Returns a proxy to the remote TracePublisher.  
Public MethodGetType (Inherited from object)
Public MethodInitializeLifetimeServiceOverridden. Obtains a lifetime service object to control the lifetime policy for this instance.  
Public MethodMakeRemotableOverloaded.  Start the TracePublisher service using default logging information from the IdeaBlade configuration file.  
Public MethodPing Determine if the service is active.  
Public MethodPublish Instructs the TracePublisher to publish a message.  
Public MethodSubscribeOverloaded. Called by ITraceSubscriberCallback implementations in order to receive OnPublish notifications.  
Public MethodToString (Inherited from object)
Public MethodUnsubscribeCalled by ITraceSubscriberCallback implementations when publication notice is no longer wanted.  
Top
Protected Methods
 NameDescription
Protected MethodFinalize (Inherited from object)
Protected MethodMakeRemotableCore Start the TracePublisher service.  
Protected MethodMemberwiseCloneOverloaded.  (Inherited from System.MarshalByRefObject)
Protected MethodPublishCore Call OnPublish method for all subscribers.  
Top
See Also

Reference

TracePublisher Class
IdeaBlade.Core Namespace

Send Feedback