EasyUA Reference
Open Method
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > ITransportListener Interface : Open Method

baseAddress
The base address.
settings
The settings to use when creating the listener.
callback
The callback to use when requests arrive via the channel.

Glossary Item Box

Opens the listener and starts accepting connection.

Syntax

Visual Basic (Usage)Copy Code
Dim instance As ITransportListener
Dim baseAddress As Uri
Dim settings As TransportListenerSettings
Dim callback As ITransportListenerCallback
 
instance.Open(baseAddress, settings, callback)

Parameters

baseAddress
The base address.
settings
The settings to use when creating the listener.
callback
The callback to use when requests arrive via the channel.

Exceptions

ExceptionDescription
System.ArgumentNullExceptionThrown if any parameter is null.
ServiceResultExceptionThrown if any communication error occurs.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.