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.

  Name Description
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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft