Holds a result of an IO operation.
Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AbruptIOTerminationException"/> class with the result of the IO operation
 /// until the error and a reference to the inner exception that is the cause of this exception.
 /// </summary>
 /// <param name="ioResult">The result of the IO operation until the error</param>
 /// <param name="cause">The exception that is the cause of the current exception</param>
 public AbruptIOTerminationException(IOResult ioResult, Exception cause)
     : base("Stream terminated without completing IO operation.", cause)
 {
     IoResult = ioResult;
 }