DevForce Help Reference
GetRemoteInstance Method


URL of the publisher
Returns a proxy to the remote TracePublisher.
Syntax
'Declaration
 
Public Shared Function GetRemoteInstance( _
   ByVal pTracePublisherUrl As String, _
   ByVal pSubscriber As ITraceSubscriberCallback _
) As ITracePublisher
'Usage
 
Dim pTracePublisherUrl As String
Dim pSubscriber As ITraceSubscriberCallback
Dim value As ITracePublisher
 
value = TracePublisher.GetRemoteInstance(pTracePublisherUrl, pSubscriber)
public static ITracePublisher GetRemoteInstance( 
   string pTracePublisherUrl,
   ITraceSubscriberCallback pSubscriber
)

Parameters

pTracePublisherUrl
URL of the publisher
pSubscriber
Remarks
The subscriber instance is required in order to create the DuplexChannelFactory. The subscriber's OnPublish method will be called on a callback channel.
Requirements

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

See Also

Reference

TracePublisher Class
TracePublisher Members

Send Feedback