C# Class PRI.ProductivityExtensions.UdpClientExtensions.UdpClientable

Class that contains extension methods that extend UdpClient
ファイルを表示 Open project: peteraritchie/ProductivityExtensions

Public Methods

Method Description
BeginReceive ( this udpclient, AsyncCallback requestCallback ) : IAsyncResult

Extends BeginReceive so that when a state object is not needed, null does not need to be passed. udpclient.BeginReceive(requestCallback);

BeginSend ( this udpclient, Byte datagram, Int32 bytes, AsyncCallback requestCallback ) : IAsyncResult

Extends BeginSend so that when a state object is not needed, null does not need to be passed. udpclient.BeginSend(datagram, bytes, requestCallback);

BeginSend ( this udpclient, Byte datagram, Int32 bytes, String hostname, Int32 port, AsyncCallback requestCallback ) : IAsyncResult

Extends BeginSend so that when a state object is not needed, null does not need to be passed. udpclient.BeginSend(datagram, bytes, hostname, port, requestCallback);

BeginSend ( this udpclient, Byte datagram, Int32 bytes, System endPoint, AsyncCallback requestCallback ) : IAsyncResult

Extends BeginSend so that when a state object is not needed, null does not need to be passed. udpclient.BeginSend(datagram, bytes, endPoint, requestCallback);

Method Details

BeginReceive() public static method

Extends BeginReceive so that when a state object is not needed, null does not need to be passed. udpclient.BeginReceive(requestCallback);
public static BeginReceive ( this udpclient, AsyncCallback requestCallback ) : IAsyncResult
udpclient this
requestCallback AsyncCallback
return IAsyncResult

BeginSend() public static method

Extends BeginSend so that when a state object is not needed, null does not need to be passed. udpclient.BeginSend(datagram, bytes, requestCallback);
public static BeginSend ( this udpclient, Byte datagram, Int32 bytes, AsyncCallback requestCallback ) : IAsyncResult
udpclient this
datagram Byte
bytes System.Int32
requestCallback AsyncCallback
return IAsyncResult

BeginSend() public static method

Extends BeginSend so that when a state object is not needed, null does not need to be passed. udpclient.BeginSend(datagram, bytes, hostname, port, requestCallback);
public static BeginSend ( this udpclient, Byte datagram, Int32 bytes, String hostname, Int32 port, AsyncCallback requestCallback ) : IAsyncResult
udpclient this
datagram Byte
bytes System.Int32
hostname String
port System.Int32
requestCallback AsyncCallback
return IAsyncResult

BeginSend() public static method

Extends BeginSend so that when a state object is not needed, null does not need to be passed. udpclient.BeginSend(datagram, bytes, endPoint, requestCallback);
public static BeginSend ( this udpclient, Byte datagram, Int32 bytes, System endPoint, AsyncCallback requestCallback ) : IAsyncResult
udpclient this
datagram Byte
bytes System.Int32
endPoint System
requestCallback AsyncCallback
return IAsyncResult