System.Net.Cache.SingleItemRequestCache.WriteOnlyStream.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)
            {
                Write(buffer, offset, count);
                LazyAsyncResult ar = new LazyAsyncResult(null, state, callback);
                ar.InvokeCallback(null);
                return ar;
            }
            public override void EndWrite(IAsyncResult asyncResult)