Konstruktor StringPropertyTooLongException (String, Int32, Int32)
Inicjuje nowe wystąpienie StringPropertyTooLongException klasy, która została określona właściwość, maksymalna długość ciąg, a bieżąca długość ciąg.
Przestrzeń nazw: Microsoft.SqlServer.Management.Dmf
Zestaw: Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)
Składnia
'Deklaracja
Public Sub New ( _
propertyName As String, _
maxLength As Integer, _
currentLength As Integer _
)
'Użycie
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
)
Parametry
- propertyName
Typ: System.String
A String wartość, która określa nazwę właściwość.
- maxLength
Typ: System.Int32
Int32 Wartość określającą maksymalną długość, który jest dozwolony dla ciąg właściwość.
- currentLength
Typ: System.Int32
Int32 Wartość określająca Bieżąca długość ciąg.
Uwagi
Ten obszar nazw, klasa lub element członkowski jest obsługiwany tylko w wersji 2.0 programu Microsoft .NET Framework.