EasyUA Reference
ServiceHost Constructor
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > ServiceHost Class : ServiceHost Constructor

server
The server.
endpointType
Type of the endpoint.
addresses
The addresses.

Glossary Item Box

Initializes the service host.

Syntax

Visual Basic (Usage)Copy Code
Dim server As ServerBase
Dim endpointType As Type
Dim addresses() As Uri
 
Dim instance As New ServiceHost(server, endpointType, addresses)
C# 
public ServiceHost( 
   ServerBase server,
   Type endpointType,
   params Uri[] addresses
)

Parameters

server
The server.
endpointType
Type of the endpoint.
addresses
The addresses.

Requirements

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

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.