This documentation is archived and is not being maintained.

SocketAsyncEventArgs.SetBuffer Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method SetBuffer(Int32, Int32) Sets the data buffer to use with an asynchronous socket method.
Public method SetBuffer(Byte[], Int32, Int32) Sets the data buffer to use with an asynchronous socket method.
Top

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

Show: