Compartir a través de


DataServiceHostFactory.CreateServiceHost(Type, Uri[]) Método

Definición

Crea un nuevo DataServiceHost a partir del 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

Especifica el tipo de servicio WCF que va a hospedarse.

baseAddresses
Uri[]

Matriz de direcciones base para el servicio.

Devoluciones

Objeto DataServiceHost creado.

Se aplica a