Compartilhar via


ServiceRoute(String, ServiceHostFactoryBase, Type) Construtor

Definição

Inicializa uma nova instância da classe ServiceRoute com o prefixo de rota, a fábrica do host de serviço e o tipo de serviço especificados.

public:
 ServiceRoute(System::String ^ routePrefix, System::ServiceModel::Activation::ServiceHostFactoryBase ^ serviceHostFactory, Type ^ serviceType);
public ServiceRoute (string routePrefix, System.ServiceModel.Activation.ServiceHostFactoryBase serviceHostFactory, Type serviceType);
new System.ServiceModel.Activation.ServiceRoute : string * System.ServiceModel.Activation.ServiceHostFactoryBase * Type -> System.ServiceModel.Activation.ServiceRoute
Public Sub New (routePrefix As String, serviceHostFactory As ServiceHostFactoryBase, serviceType As Type)

Parâmetros

routePrefix
String

O prefixo de rota.

serviceHostFactory
ServiceHostFactoryBase

Uma instância da classe ServiceHostFactory.

serviceType
Type

O tipo de serviço.

Aplica-se a