Argument() 정적인 개인적인 메소드

static private Argument ( string error ) : ArgumentException
error string
리턴 System.ArgumentException
예제 #1
0
 static internal ArgumentException ParameterValueOutOfRange(Decimal value)
 {
     return(ADP.Argument(Res.GetString(Res.ADP_ParameterValueOutOfRange, value.ToString((IFormatProvider)null))));
 }
예제 #2
0
 static internal ArgumentException ConvertFailed(Type fromType, Type toType, Exception innerException)
 {
     return(ADP.Argument(Res.GetString(Res.SqlConvert_ConvertFailed, fromType.FullName, toType.FullName), innerException));
 }
예제 #3
0
 //
 // SqlMetaData, SqlTypes, SqlClient
 //
 static internal Exception InvalidMetaDataValue()
 {
     return(ADP.Argument(Res.GetString(Res.ADP_InvalidMetaDataValue)));
 }
예제 #4
0
 static internal ArgumentException InvalidMinMaxPoolSizeValues()
 {
     return(ADP.Argument(Res.GetString(Res.ADP_InvalidMinMaxPoolSizeValues)));
 }
예제 #5
0
 internal static ArgumentException ConvertFailed(Type fromType, Type toType, Exception innerException)
 {
     return(ADP.Argument(SR.Format(SR.SqlConvert_ConvertFailed, fromType.FullName, toType.FullName), innerException));
 }
예제 #6
0
 internal static ArgumentException ParameterValueOutOfRange(SqlDecimal value)
 {
     return(ADP.Argument(SR.GetString(SR.ADP_ParameterValueOutOfRange, value.ToString())));
 }
예제 #7
0
 //
 // SqlMetaData, SqlTypes, SqlClient
 //
 internal static Exception InvalidMetaDataValue()
 {
     return(ADP.Argument(SR.GetString(SR.ADP_InvalidMetaDataValue)));
 }
예제 #8
0
 internal static ArgumentException InvalidRestrictionValue(string collectionName, string restrictionName, string restrictionValue)
 {
     return(ADP.Argument(SR.GetString(SR.MDF_InvalidRestrictionValue, collectionName, restrictionName, restrictionValue)));
 }