| 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.
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x
 
     
     
     
     
    