Opc.Ua.Core
CreateServiceHost Method (TcpServiceHost)



Opc.Ua.Bindings Namespace > TcpServiceHost Class : CreateServiceHost Method
Create a new service host for UA TCP.
Syntax
'Usage
 
Dim instance As TcpServiceHost
Dim serverBase As ServerBase
Dim hosts As IDictionary(Of String,ServiceHost)
Dim configuration As ApplicationConfiguration
Dim baseAddresses As IList(Of String)
Dim serverDescription As ApplicationDescription
Dim securityPolicies As List(Of ServerSecurityPolicy)
Dim instanceCertificate As X509Certificate2
Dim instanceCertificateChain As X509Certificate2Collection
Dim value As List(Of EndpointDescription)
 
value = instance.CreateServiceHost(serverBase, hosts, configuration, baseAddresses, serverDescription, securityPolicies, instanceCertificate, instanceCertificateChain)

Parameters

serverBase
hosts
configuration
baseAddresses
serverDescription
securityPolicies
instanceCertificate
instanceCertificateChain
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

TcpServiceHost Class
TcpServiceHost Members