| Visual Basic (Declaration) | |
|---|---|
Public Shared Function GetRemoteInstance( _ ByVal pTracePublisherUrl As String, _ ByVal pSubscriber As ITraceSubscriberCallback _ ) As ITracePublisher | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim pTracePublisherUrl As String Dim pSubscriber As ITraceSubscriberCallback Dim value As ITracePublisher value = TracePublisher.GetRemoteInstance(pTracePublisherUrl, pSubscriber) | |
| C# | |
|---|---|
public static ITracePublisher GetRemoteInstance( string pTracePublisherUrl, ITraceSubscriberCallback pSubscriber ) | |
| C++/CLI | |
|---|---|
public: static ITracePublisher^ GetRemoteInstance( String^ pTracePublisherUrl, ITraceSubscriberCallback^ pSubscriber ) | |
Parameters
- pTracePublisherUrl
- URL of the publisher
- pSubscriber
The subscriber instance is required in order to create the DuplexChannelFactory. The subscriber's OnPublish method will be called on a callback channel.
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