Opc.Ua.Core
ServiceHost Constructor



Opc.Ua Namespace > ServiceHost Class : ServiceHost Constructor
The server.
Type of the endpoint.
The addresses.
Initializes the service host.
Syntax
'Declaration
 
Public Function New( _
   ByVal server As ServerBase, _
   ByVal endpointType As Type, _
   ByVal ParamArray addresses() As Uri _
)
 
'Usage
 
Dim server As ServerBase
Dim endpointType As Type
Dim addresses() As Uri
 
Dim instance As New ServiceHost(server, endpointType, addresses)

Parameters

server
The server.
endpointType
Type of the endpoint.
addresses
The addresses.
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

ServiceHost Class
ServiceHost Members