SocketAsyncEventArgs.SetBuffer Method

 

Initializes the data buffer to use with an asynchronous socket method.

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodSetBuffer(Byte[], Int32, Int32)

Sets the data buffer to use with an asynchronous socket method.

System_CAPS_pubmethodSetBuffer(Int32, Int32)

Sets the data buffer to use with an asynchronous socket method.

This method sets the Buffer property to null and the Count and Offset properties to zero.

Return to top
Show: