WasHostedComPlusFactory::CreateServiceHost Method (String^, array<Uri^>^)

 

Creates a service host for the specified URI.

Namespace:   System.ServiceModel.ComIntegration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
virtual ServiceHostBase^ CreateServiceHost(
	String^ constructorString,
	array<Uri^>^ baseAddresses
) override

Parameters

constructorString
Type: System::String^

A string that contains the Web host parameters.

baseAddresses
Type: array<System::Uri^>^

An array of URIs for which the ServiceHostBase object is to be created.

Return Value

Type: System.ServiceModel::ServiceHostBase^

A ServiceHostBase object that contains the service host for the specified URI.

.NET Framework
Available since 3.0
Return to top
Show: