Freigeben über


SocketAsyncEventArgs.SetBuffer Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

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.

Overload List

  Name Description
Public methodSupported by Silverlight for Windows Phone SetBuffer(Int32, Int32) Sets the data buffer to use with an asynchronous socket method.
Public methodSupported by Silverlight for Windows Phone SetBuffer(array<Byte[], Int32, Int32) Sets the data buffer to use with an asynchronous socket method.

Top

Remarks

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