ServiceHostFactoryBase.CreateServiceHost(String, Uri[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, creates a ServiceHostBase with a specific base address using custom initiation data.
public:
abstract System::ServiceModel::ServiceHostBase ^ CreateServiceHost(System::String ^ constructorString, cli::array <Uri ^> ^ baseAddresses);
public abstract System.ServiceModel.ServiceHostBase CreateServiceHost (string constructorString, Uri[] baseAddresses);
abstract member CreateServiceHost : string * Uri[] -> System.ServiceModel.ServiceHostBase
Public MustOverride Function CreateServiceHost (constructorString As String, baseAddresses As Uri()) As ServiceHostBase
Parameters
- constructorString
- String
The initialization data that is passed to the ServiceHostBase instance being constructed by the factory.
Returns
The ServiceHostBase object with the specified base addresses and initialized with the custom initiation data.
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.