Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Buffer Property

SocketAsyncEventArgs.Buffer Property

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

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

'Declaration
Public ReadOnly Property Buffer As Byte()

Property Value

Type: System.Byte()
A Byte array that represents the data buffer to use with an asynchronous socket method.

This property gets the data buffer currently associated with the SocketAsyncEventArgs instance. To set the buffer, the SetBuffer method must be used.

The Buffer property is used with the Socket.ConnectAsync, Socket.ReceiveAsync, and Socket.SendAsync methods.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft