Microsoft.Azure.Amqp.StreamExtensions.BeginWrite C# (CSharp) Method

BeginWrite() public static method

public static BeginWrite ( this stream, byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
stream this
buffer byte
offset int
count int
callback AsyncCallback
state object
return IAsyncResult
        public static IAsyncResult BeginWrite(this Stream stream, byte[] buffer, int offset, int count, AsyncCallback callback, object state)
        {
            return stream.WriteAsync(buffer, offset, count).ToAsyncResult(callback, state);
        }