DataServiceHostFactory.CreateServiceHost(Type, Uri[]) DataServiceHostFactory.CreateServiceHost(Type, Uri[]) DataServiceHostFactory.CreateServiceHost(Type, Uri[]) DataServiceHostFactory.CreateServiceHost(Type, Uri[]) Method

Definición

Crea un nuevo DataServiceHost a partir del URI.Creates a new DataServiceHost from the URI.

protected:
 override System::ServiceModel::ServiceHost ^ CreateServiceHost(Type ^ serviceType, cli::array <Uri ^> ^ baseAddresses);
protected override System.ServiceModel.ServiceHost CreateServiceHost (Type serviceType, Uri[] baseAddresses);
override this.CreateServiceHost : Type * Uri[] -> System.ServiceModel.ServiceHost
Protected Overrides Function CreateServiceHost (serviceType As Type, baseAddresses As Uri()) As ServiceHost

Parámetros

serviceType
Type Type Type Type

Especifica el tipo de servicio WCF que va a hospedarse.Specifies the type of WCF service to host.

baseAddresses
Uri[]

Matriz de direcciones base para el servicio.An array of base addresses for the service.

Devoluciones

Se aplica a