Modifica

Condividi tramite


WasHostedComPlusFactory.CreateServiceHost(String, Uri[]) Method

Definition

Creates a service host for the specified URI.

public:
 override System::ServiceModel::ServiceHostBase ^ CreateServiceHost(System::String ^ constructorString, cli::array <Uri ^> ^ baseAddresses);
public override System.ServiceModel.ServiceHostBase CreateServiceHost (string constructorString, Uri[] baseAddresses);
override this.CreateServiceHost : string * Uri[] -> System.ServiceModel.ServiceHostBase
Public Overrides Function CreateServiceHost (constructorString As String, baseAddresses As Uri()) As ServiceHostBase

Parameters

constructorString
String

A string that contains the Web host parameters.

baseAddresses
Uri[]

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

Returns

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

Applies to