This documentation is archived and is not being maintained.
ApplicationServicesHostFactory::CreateServiceHost Method (Type, array<Uri>)
Visual Studio 2008
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, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: