net\System\Net\Sockets\UDPClient.cs (3)
1008return Task<int>.Factory.FromAsync(BeginSend, EndSend, datagram, bytes, null);
1014return Task<int>.Factory.FromAsync(BeginSend, EndSend, datagram, bytes, endPoint, null);
1022return Task<int>.Factory.FromAsync((callback, state) => BeginSend(datagram, bytes, hostname, port, callback, state), EndSend, null);