RoutingExtension.ApplyConfiguration(RoutingConfiguration) Method
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.
Applies a new RoutingConfiguration to a running instance of the routing service.
public:
void ApplyConfiguration(System::ServiceModel::Routing::RoutingConfiguration ^ routingConfiguration);
public void ApplyConfiguration (System.ServiceModel.Routing.RoutingConfiguration routingConfiguration);
member this.ApplyConfiguration : System.ServiceModel.Routing.RoutingConfiguration -> unit
Public Sub ApplyConfiguration (routingConfiguration As RoutingConfiguration)
Parameters
- routingConfiguration
- RoutingConfiguration
The routing configuration to be applied.
Remarks
After calling ApplyConfiguration, the new RoutingConfiguration only applies to new sessions and messages.
Warning
Do not modify the RoutingConfiguration object after calling ApplyConfiguration, as RoutingConfiguration does not provide thread-safe updates or extensions.
If you must perform subsequent updates of the routing configuration, use a new instance of RoutingConfiguration for each update.