getAddress.Sequence.SequenceGenerator.NextAsync C# (CSharp) Méthode

NextAsync() public méthode

Sequence could not be found The maximum sequence value has been reached and cycle is false The minimum sequence value has been reached and cycle is false The maximum number of retries has been reached
public NextAsync ( SequenceKey sequenceKey ) : Task
sequenceKey SequenceKey
Résultat Task
        public async Task<long> NextAsync(SequenceKey sequenceKey)
        {
            if (sequenceKey == null) throw new ArgumentNullException("sequenceKey");
            if (sequenceKey.Value == null) throw new ArgumentNullException("sequenceKey");

            return await ExecAsync(sequenceKey, 0);
            
        }