internal void FinishOperationFailure(Exception exception, bool syncCompletion)
{
SetResults(exception, 0);
if (NetEventSource.IsEnabled)
{
string methodName = _completedOperation == HttpListenerAsyncOperation.Receive ? nameof(ReadAsyncFast) : nameof(WriteAsyncFast);
NetEventSource.Error(_currentStream, $"{methodName} {exception.ToString()}");
}
Complete();
OnCompleted(this);
}