Partager via


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

Définition

Crée un DataServiceHost à partir de l'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

Paramètres

serviceType
Type

Spécifie le type de service WCF à héberger.

baseAddresses
Uri[]

Tableau d'adresses de base du service.

Retours

Objet DataServiceHost créé.

S’applique à