EndRead() public method

public EndRead ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
return int
Beispiel #1
0
 public override int EndRead(IAsyncResult asyncResult)
 {
     if (deflateStream == null)
     {
         throw new InvalidOperationException(SR.GetString(SR.ObjectDisposed_StreamClosed));
     }
     return(deflateStream.EndRead(asyncResult));
 }
Beispiel #2
0
        public override int EndRead(IAsyncResult async_result)
        {
            if (deflateStream == null)
            {
                throw new ObjectDisposedException(GetType().FullName);
            }

            return(deflateStream.EndRead(async_result));
        }
Beispiel #3
0
 public override int EndRead(IAsyncResult asyncResult) =>
 _deflateStream.EndRead(asyncResult);
Beispiel #4
0
 public override int EndRead(IAsyncResult async_result)
 {
     return(deflateStream.EndRead(async_result));
 }