Initializes a new instance of the InvalidLengthException class, specifying the exception's message text, the maximum expected size and the actual size of the string.
'Usage
Dim message As String
Dim maximumExpectedSize As Integer
Dim actualSize As Integer
Dim instance As New InvalidLengthException(message, maximumExpectedSize, actualSize)
A string representing the exception's message text.
maximumExpectedSize
A value representing the maximum expected size.
actualSize
A value representing the actual size of the string.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2