NET

Abort

This method will send an AbortRequest for the last issued request to the terminal.

Edit "Abort" on GitHub

Signatures

  • void Abort()

  • async Task<AbortRequestResult> AbortAsync()

Description

The Abort/AbortAsync method will send an AbortRequest for the last issued request to the terminal. The Abort message itself is not responded to by the terminal, but the actual request being aborted is.

warning

warning: The result from AbortAsync will always have the ResponseResult “Failure”.

Returns

A AbortRequestResult

1
2
3
4
    public class AbortRequestResult : NexoRequestResult
    {
        public AbortRequestResult();
    }
1
2
3
4
5
6
7
    public class NexoRequestResult
    {
        public string ResponseContent
        public NexoResponseResult ResponseResult { get; set; }
        public string ErrorCondition { get; set; }
        public string ResponseText { get; set; }
    };
  • string ErrorCondition;
  • string ResponseContent;
  • NexoResponseResult ResponseResult;
  • string ResponseText;