public WriteData(byte[] buffer, int offset, int count, AsyncCallback callback, object state) { Buffer = buffer; Offset = offset; Count = count; Callback = callback; State = state; AsyncResult = new QueuedWriteResult(state); }