System.Net.Cache.RangeStream.BeginWrite C# (CSharp) Method

BeginWrite() public method

public BeginWrite ( byte buffer, int offset, int count, AsyncCallback callback, Object state ) : IAsyncResult
buffer byte
offset int
count int
callback AsyncCallback
state Object
return IAsyncResult
        public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) {
            if (m_Position+offset > m_Offset+m_Size) {
                throw new NotSupportedException(SR.GetString(SR.net_cache_unsupported_partial_stream));
            }
            return m_ParentStream.BeginWrite(buffer, offset, count, callback, state);
        }