예제 #1
0
 public override long Seek(long offset, SeekOrigin origin)
 {
     this.CheckDisposed("Seek");
     return(MapiStreamWrapper.CallMapiWithReturnValue <long>("Seek", this, this.session, () => this.mapiStream.Seek(offset, origin)));
 }
예제 #2
0
 public override int Read(byte[] buffer, int offset, int count)
 {
     this.CheckDisposed("Read");
     return(MapiStreamWrapper.CallMapiWithReturnValue <int>("Read", this, this.session, () => this.mapiStream.Read(buffer, offset, count)));
 }