SocketAsyncEventArgs.SetBuffer Method (Byte, Int32, Int32)
Sets the data buffer to use with an asynchronous socket method.
Assembly: System.Net (in System.Net.dll)
An argument was out of range. This exception occurs if the offset parameter is less than zero or greater than the length of the array in the Buffer property. This exception also occurs if the count parameter is less than zero or greater than the length of the array in the Buffer property minus the offset parameter.
The offset and count parameters can't be negative numbers. The combination of the offset and count parameters must be in bounds of the data array in the buffer parameter.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.