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


Xceed.SSH.Core Assembly > Xceed.SSH.Core Namespace > InvalidLengthException Class > InvalidLengthException Constructor : InvalidLengthException Constructor(String,Int32,Int32,Int32)
Syntax
'Declaration
 
Public Function New( _

   ByVal message As String, _

   ByVal minimumExpectedSize As Integer, _

   ByVal maximumExpectedSize As Integer, _

   ByVal actualSize As Integer _

)
'Usage
 
Dim message As String

Dim minimumExpectedSize As Integer

Dim maximumExpectedSize As Integer

Dim actualSize As Integer

 

Dim instance As New InvalidLengthException(message, minimumExpectedSize, maximumExpectedSize, actualSize)
public InvalidLengthException( 

   string message,

   int minimumExpectedSize,

   int maximumExpectedSize,

   int actualSize

)

Parameters

message
minimumExpectedSize
maximumExpectedSize
actualSize
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