StringPropertyTooLongException クラス

StringPropertyTooLongException クラスは、プロパティに割り当てられた文字列が長すぎる場合に発生する例外です。

継承階層

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() StringPropertyTooLongException クラスの新しいインスタンスを初期化します。
パブリック メソッド StringPropertyTooLongException(String) 指定されたメッセージ テキストを持つ StringPropertyTooLongException クラスの新しいインスタンスを初期化します。
パブリック メソッド StringPropertyTooLongException(String, Exception) 指定されたメッセージ テキストと内部例外を持つ StringPropertyTooLongException クラスの新しいインスタンスを初期化します。
パブリック メソッド StringPropertyTooLongException(String, Int32, Int32) 指定されたプロパティ、文字列の最大長、および文字列の現在の長さを持つ StringPropertyTooLongException クラスの新しいインスタンスを初期化します。

先頭に戻る

プロパティ

  名前 説明
パブリック プロパティ CurrentLength 文字列プロパティの現在の長さを取得します。
パブリック プロパティ Data (Exception から継承されています。)
パブリック プロパティ DmfExceptionType プロパティに割り当てられた文字列が長すぎる場合に発生する例外の種類を取得します。 (DmfException.DmfExceptionType をオーバーライドします。)
パブリック プロパティ HelpLink 例外のヘルプ リンクを取得します。 (DmfException から継承されています。)
パブリック プロパティ HResult (Exception から継承されています。)
パブリック プロパティ InnerException (Exception から継承されています。)
パブリック プロパティ MaxLength 文字列プロパティで許可されている最大長を取得します。
パブリック プロパティ Message プロパティに割り当てられた文字列が長すぎる場合に表示されるメッセージを取得します。 (Exception.Message をオーバーライドします。)
パブリック プロパティ PropertyName 例外を生成したプロパティの名前を取得します。
パブリック プロパティ Source (Exception から継承されています。)
パブリック プロパティ StackTrace (Exception から継承されています。)
パブリック プロパティ TargetSite (Exception から継承されています。)

先頭に戻る

メソッド

  名前 説明
パブリック メソッド Equals (Object から継承されています。)
パブリック メソッド GetBaseException (Exception から継承されています。)
パブリック メソッド GetHashCode (Object から継承されています。)
パブリック メソッド GetObjectData オブジェクトのシリアル化に必要な情報を設定します。 (Exception.GetObjectData(SerializationInfo, StreamingContext) をオーバーライドします。)
パブリック メソッド GetType (Exception から継承されています。)
プロテクト メソッド SetHelpContext 例外のヘルプ コンテキストを設定します。 (DmfException から継承されています。)
パブリック メソッド ToString (Exception から継承されています。)

先頭に戻る

説明

この名前空間、クラス、またはメンバーは、Microsoft .NET Framework Version 2.0 でのみサポートされています。

スレッド セーフ

この型の public static (Microsoft Visual Basic では Shared) のすべてのメンバーは、マルチスレッド操作で安全に使用できます。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

使用例

SMO 例外の処理

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

関連項目

参照

Microsoft.SqlServer.Management.Dmf 名前空間