Interface IProductActivationTransmissionCommenceConfigurationPhase
Part of Fluent Syntax flow used to build the composer
argument of WithTransmission(Func<IProductActivationTransmissionCommenceConfigurationPhase, IProductActivationTransmissionCompletedConfigurationPhase>).
Enables one to specify the rules or customize the behavior with regard to retrying of Activation Requests when triggered via IActivateLicenses.
Namespace: Sp.Agent.Configuration.Product.Activation
Assembly: Sp.Agent.dll
Methods
WithRetryPolicy(Func<Exception, Int32, Boolean>)
Allows one to specify a custom policy regarding whether an Activation Request triggered via IActivateLicenses should be submitted.
The supplied Func
is responsible for deciding when to terminate the retrying of a request that is failing to roundtrip to the Activation Server for any reason.
Declaration
IProductActivationTransmissionEndpointConfigurationPhase WithRetryPolicy(Func<Exception, int, bool> shouldRetryAfterExceptionWithPreviousAttempts)
Parameters
Type | Name | Description |
---|---|---|
System.Func<System.Exception, System.Int32, System.Boolean> | shouldRetryAfterExceptionWithPreviousAttempts |
|
Returns
Type | Description |
---|---|
IProductActivationTransmissionEndpointConfigurationPhase | The next phase of the Fluent Syntax chain. |