StringPropertyTooLongException 클래스

The StringPropertyTooLongException class is an exception that is raised when the string that is assigned to a property is too long.

상속 계층

System.Object
  System.Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.Dmf.DmfException
        Microsoft.SqlServer.Management.Dmf.StringPropertyTooLongException

네임스페이스:  Microsoft.SqlServer.Management.Dmf
어셈블리:  Microsoft.SqlServer.Dmf(Microsoft.SqlServer.Dmf.dll)

구문

‘선언
<SerializableAttribute> _
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class StringPropertyTooLongException _
    Inherits DmfException
‘사용 방법
Dim instance As StringPropertyTooLongException
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class StringPropertyTooLongException : DmfException
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class StringPropertyTooLongException sealed : public DmfException
[<SealedAttribute>]
[<SerializableAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type StringPropertyTooLongException =  
    class 
        inherit DmfException 
    end
public final class StringPropertyTooLongException extends DmfException

StringPropertyTooLongException 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 StringPropertyTooLongException() Initializes a new instance of the StringPropertyTooLongException class.
공용 메서드 StringPropertyTooLongException(String) Initializes a new instance of the StringPropertyTooLongException class that has the specified message text.
공용 메서드 StringPropertyTooLongException(String, Exception) Initializes a new instance of the StringPropertyTooLongException class that has the specified message text and inner exception.
공용 메서드 StringPropertyTooLongException(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.

맨 위로 이동

속성

  이름 설명
공용 속성 CurrentLength Gets the current length of the string property.
공용 속성 Data (Exception에서 상속됨)
공용 속성 DmfExceptionType Gets the type of the exception when the string that is assigned to a property is too long. (DmfException.DmfExceptionType을(를) 재정의함)
공용 속성 HelpLink Gets the help link for the exception. (DmfException에서 상속됨)
공용 속성 HResult (Exception에서 상속됨)
공용 속성 InnerException (Exception에서 상속됨)
공용 속성 MaxLength Gets the maximum length that is allowed for the string property.
공용 속성 Message Gets the displayed message when the string that is assigned to a property is too long. (Exception.Message을(를) 재정의함)
공용 속성 PropertyName Gets the name of the property that generated the exception.
공용 속성 Source (Exception에서 상속됨)
공용 속성 StackTrace (Exception에서 상속됨)
공용 속성 TargetSite (Exception에서 상속됨)

맨 위로 이동

메서드

  이름 설명
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 GetBaseException (Exception에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetObjectData Sets information required for serialization of the object. (Exception.GetObjectData(SerializationInfo, StreamingContext)을(를) 재정의함)
공용 메서드 GetType (Exception에서 상속됨)
보호된 메서드 SetHelpContext Sets the help context for the exception. (DmfException에서 상속됨)
공용 메서드 ToString (Exception에서 상속됨)

맨 위로 이동

주의

이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.

Thread Safety

이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 멤버는 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

SMO 예외 처리

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Management.Dmf 네임스페이스