'Declaration Public Function New( _ ByVal message As String, _ ByVal maximumExpectedSize As Integer, _ ByVal actualSize As Integer _ )
'Usage Dim message As String Dim maximumExpectedSize As Integer Dim actualSize As Integer Dim instance As New InvalidLengthException(message, maximumExpectedSize, actualSize)
public InvalidLengthException( string message, int maximumExpectedSize, int actualSize )
Parameters
- message
- 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.