Amqp.TaskExtensions.WriteAsync C# (CSharp) 메소드

WriteAsync() 정적인 개인적인 메소드

static private WriteAsync ( this source, byte buffer, int offset, int count ) : System.Threading.Tasks.Task
source this
buffer byte
offset int
count int
리턴 System.Threading.Tasks.Task
        internal static Task WriteAsync(this System.Net.Security.SslStream source,
            byte[] buffer, int offset, int count)
        {
            return Task.Factory.FromAsync(
                (c, s) => source.BeginWrite(buffer, offset, count, c, s),
                (r) => source.EndWrite(r),
                null);
        }