NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Encoding.BufferOverflow

Returns an ArgumentException with an error message indicating a conversion buffer overflow. Subclasses can use this method when throwing an exception to indicate a buffer overflow.

[Visual Basic]
Protected Shared Function BufferOverflow() As ArgumentException
[C#]
protected static ArgumentException BufferOverflow();
[C++]
protected: static ArgumentException* BufferOverflow();
[JScript]
protected static function BufferOverflow() : ArgumentException;

Return Value

Returns an ArgumentException with an error message "Conversion buffer overflow."

See Also

Encoding Class | Encoding Members | System.Text Namespace