This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.