Interface IDistributorCommenceConfigurationPhase
Part of Fluent Syntax flow used to build the composer
argument of WithDistributor(IAgentDistributorsConfigurationPhase, Func<IDistributorCommenceConfigurationPhase, IDistributorCompletedConfigurationPhase>).
Enables the specification of the desired behavior with regard to discovering and managing connectivity to a Distributor Service.
Namespace: Sp.Agent.Configuration
Assembly: Sp.Agent.Distributor.dll
Methods
WithDiscovery(Func<Uri>)
Enables the specification of a Func
that will identify the correct service endpoint to use.
Declaration
IDistributorNamedUserConfigurationPhase WithDiscovery(Func<Uri> discover)
Parameters
Type | Name | Description |
---|---|---|
System.Func<System.Uri> | discover | Function that will decide the correct endpoint to use whenever a Distributor needs to be contacted. May return |
Returns
Type | Description |
---|---|
IDistributorNamedUserConfigurationPhase | The next phase of the Fluent Syntax chain. |