WebServiceHost Constructor (Object^, array<Uri^>^)
.NET Framework (current version)
Initializes a new instance of the WebServiceHost class with the specified singleton server instance and base address.
Assembly: System.ServiceModel.Web (in System.ServiceModel.Web.dll)
Parameters
- singletonInstance
-
Type:
System::Object^
A service instance to be used as the singleton instance.
- baseAddresses
-
Type:
array<System::Uri^>^
The base address of the service.
The baseAddresses parameter can consist of one or more base addresses.
.NET Framework
Available since 3.5
Available since 3.5
Show: