static private WriteAsync ( this source, byte buffer, int offset, int count ) : System.Threading.Tasks.Task | ||
source | this | |
buffer | byte | |
offset | int | |
count | int | |
return | 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);
}