ServiceRoute(String, ServiceHostFactoryBase, Type) 构造函数

定义

使用指定的路由前缀、服务主机工厂和服务类型初始化 ServiceRoute 类的新实例。

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)

参数

routePrefix
String

路由前缀。

serviceHostFactory
ServiceHostFactoryBase

ServiceHostFactory 类的实例。

serviceType
Type

服务类型。

适用于