CreateDistributionPolicyOptions(String, TimeSpan, DistributionMode) 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 CreateDistributionPolicyOptions.
public CreateDistributionPolicyOptions (string distributionPolicyId, TimeSpan offerExpiresAfter, Azure.Communication.JobRouter.DistributionMode mode);
new Azure.Communication.JobRouter.CreateDistributionPolicyOptions : string * TimeSpan * Azure.Communication.JobRouter.DistributionMode -> Azure.Communication.JobRouter.CreateDistributionPolicyOptions
Public Sub New (distributionPolicyId As String, offerExpiresAfter As TimeSpan, mode As DistributionMode)
Parameters
- distributionPolicyId
- String
Id of a distribution policy.
- offerExpiresAfter
- TimeSpan
Length of time after which any offers created under this policy will be expired.
- mode
- DistributionMode
Mode governing the specific distribution method.
Exceptions
distributionPolicyId
is null.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET