Class NoDistributorException
Thrown when the Distributor Discovery configuration did not yield a Distributor (the configuration needs to resolve exactly one Distributor instance).
Namespace: Sp.Agent.Distributor
Assembly: Sp.Agent.Distributor.dll
Remarks
In order to use the Checkout API, Sp.Agent needs to be configured with a Distributor (i.e. Configure(Func<IAgentCommenceConfigurationPhase, IAgentCompletedConfigurationPhase>) expression needs to include an appropriate .WithDistributor( ... .WithDiscovery( ... ) ... ) sequence).
Constructors
NoDistributorException()
Creates a new NoDistributorException.
Declaration
public NoDistributorException()
NoDistributorException(SerializationInfo, StreamingContext)
Declaration
protected NoDistributorException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception