C# Class Thinktecture.ServiceModel.Activation.ServiceHostFactory

Custom ServiceHostFactory TODO: enable configuration for Flat WSDL and Profiles.
Inheritance: System.ServiceModel.Activation.ServiceHostFactory
显示文件 Open project: ChristianWeyer/Thinktecture.ServiceModel

Public Methods

Method Description
CreateServiceHost ( string constructorString, Uri baseAddresses ) : ServiceHostBase

Creates a with specific base addresses and initializes it with specified data.

Protected Methods

Method Description
CreateServiceHost ( Type serviceType, Uri baseAddresses ) : System.ServiceModel.ServiceHost

Creates a for a specified type of service with a specific base address.

Method Details

CreateServiceHost() protected method

Creates a for a specified type of service with a specific base address.
protected CreateServiceHost ( Type serviceType, Uri baseAddresses ) : System.ServiceModel.ServiceHost
serviceType System.Type
baseAddresses System.Uri
return System.ServiceModel.ServiceHost

CreateServiceHost() public method

Creates a with specific base addresses and initializes it with specified data.
There is no hosting context provided or constructorString is null or empty. baseAddress is null.
public CreateServiceHost ( string constructorString, Uri baseAddresses ) : ServiceHostBase
constructorString string
baseAddresses System.Uri
return ServiceHostBase