FeedAbort() публичный абстрактный Метод

Notifies the handle that the transaction has been aborted
public abstract FeedAbort ( AbortReason reason ) : void
reason AbortReason The abort reason
Результат void
Пример #1
0
        /// <summary>
        /// Called whenever the request timer ticks
        /// </summary>
        private void _requestTick(object state)
        {
            lock (_lock)
            {
                if (_state == ClientState.AwaitConfirmation)
                {
                    _requestAttempt++;

                    if (_requestAttempt >= RequestAttempts)
                    {
                        // TODO: should probably be a timeout error instead of an abort
                        _handle.FeedAbort(AbortReason.Other);
                        _transitionTo(ClientState.Disposed);
                    }
                    else
                    {
                        _sendInitialRequestSegment();
                    }
                }
            }
        }