EndWrite() public method

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

            deflateStream.EndWrite(async_result);
        }
Beispiel #3
0
 public override void EndWrite(IAsyncResult asyncResult) =>
 _deflateStream.EndWrite(asyncResult);