Redigera

Dela via


ServiceRoute(String, ServiceHostFactoryBase, Type) Constructor

Definition

Initializes a new instance of the ServiceRoute class with the specified route prefix, service host factory, and service type.

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)

Parameters

routePrefix
String

The route prefix.

serviceHostFactory
ServiceHostFactoryBase

An instance of the ServiceHostFactory class.

serviceType
Type

The service type.

Applies to