This documentation is archived and is not being maintained.
ApplicationServicesHostFactory::CreateServiceHost Method (Type, array<Uri>)
Visual Studio 2010
Creates an instance of the service class that has the specified base address or addresses.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
protected: virtual ServiceHost^ CreateServiceHost( Type^ serviceType, array<Uri^>^ baseAddresses ) override
Parameters
- serviceType
- Type: System::Type
The type of service host to create.
- baseAddresses
- Type: array<System::Uri>
An array of base addresses for the service.
Return Value
Type: System.ServiceModel::ServiceHostA ServiceHost instance for the type of service that has the specified base address or addresses.
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
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: