Xceed .NET Libraries Documentation
InvalidLengthException Constructor(Int32,Int32)


Xceed.SSH.Core Assembly > Xceed.SSH.Core Namespace > InvalidLengthException Class > InvalidLengthException Constructor : InvalidLengthException Constructor(Int32,Int32)
A value representing the maximum expected size.
A value representing the actual size of the string.
Initializes a new instance of the InvalidLengthException class, specifying the maximum expected size and the actual size of the string.
Syntax
'Declaration
 
Public Function New( _
   ByVal maximumExpectedSize As Integer, _
   ByVal actualSize As Integer _
)
'Usage
 
Dim maximumExpectedSize As Integer
Dim actualSize As Integer
 
Dim instance As New InvalidLengthException(maximumExpectedSize, actualSize)
public InvalidLengthException( 
   int maximumExpectedSize,
   int actualSize
)

Parameters

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

See Also

Reference

InvalidLengthException Class
InvalidLengthException Members
Overload List