StringPropertyTooLongException Constructor (String, Int32, Int32)
Initializes a new instance of the StringPropertyTooLongException class that has the specified property, maximum length of the string, and the current length of the string.
Espacio de nombres: Microsoft.SqlServer.Management.Dmf
Ensamblado: Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Sintaxis
'Declaración
Public Sub New ( _
propertyName As String, _
maxLength As Integer, _
currentLength As Integer _
)
'Uso
Dim propertyName As String
Dim maxLength As Integer
Dim currentLength As Integer
Dim instance As New StringPropertyTooLongException(propertyName, _
maxLength, currentLength)
public StringPropertyTooLongException(
string propertyName,
int maxLength,
int currentLength
)
public:
StringPropertyTooLongException(
String^ propertyName,
int maxLength,
int currentLength
)
new :
propertyName:string *
maxLength:int *
currentLength:int -> StringPropertyTooLongException
public function StringPropertyTooLongException(
propertyName : String,
maxLength : int,
currentLength : int
)
Parámetros
- propertyName
Tipo: System.String
A String value that specifies the name of the property.
- maxLength
Tipo: System.Int32
An Int32 value that specifies the maximum length that is allowed for the string property.
- currentLength
Tipo: System.Int32
An Int32 value that specifies the current length of the string.
Comentarios
Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.
Ejemplos
Vea también
Referencia
StringPropertyTooLongException Clase