ServiceRoute(String, ServiceHostFactoryBase, Type) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.