C# Class DataAccessFramework.StringParameterTooLongException

Inheritance: ParameterTooLongException
Exibir arquivo Open project: PeteProgrammer/DataAccessFramework

Public Methods

Method Description
StringParameterTooLongException ( string parameterName, int maxLength, int actualLength ) : System

Creates a new StringParameterTooLongException instance.

ToString ( ) : string

Gets a string describing the exception

Protected Methods

Method Description
StringParameterTooLongException ( SerializationInfo info, StreamingContext context ) : System

Creates a new StringParameterTooLongException instance.

Method Details

StringParameterTooLongException() protected method

Creates a new StringParameterTooLongException instance.
protected StringParameterTooLongException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return System

StringParameterTooLongException() public method

Creates a new StringParameterTooLongException instance.
public StringParameterTooLongException ( string parameterName, int maxLength, int actualLength ) : System
parameterName string The name of the database parameter
maxLength int The max accepted length of the parameter
actualLength int The actual size of the passed parameter value
return System

ToString() public method

Gets a string describing the exception
public ToString ( ) : string
return string