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

url
The URL for the endpoint.
settings
The settings to use when creating the channel.

Glossary Item Box

Initializes a secure channel with the endpoint identified by the URL.

Syntax

Visual Basic (Usage)Copy Code
Dim instance As ITransportChannel
Dim url As Uri
Dim settings As TransportChannelSettings
 
instance.Initialize(url, settings)
C# 
void Initialize( 
   Uri url,
   TransportChannelSettings settings
)

Parameters

url
The URL for the endpoint.
settings
The settings to use when creating the channel.

Exceptions

ExceptionDescription
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.