FunctionWrongArgumentTypeException クラス

FunctionWrongArgumentTypeException クラスは、関数が受け取った引数の型が正しくない場合に生成される例外です。

継承階層

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

名前空間:  Microsoft.SqlServer.Management.Dmf
アセンブリ:  Microsoft.SqlServer.Dmf (Microsoft.SqlServer.Dmf.dll)

構文

'宣言
<SerializableAttribute> _
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class FunctionWrongArgumentTypeException _
    Inherits DmfException
'使用
Dim instance As FunctionWrongArgumentTypeException
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class FunctionWrongArgumentTypeException : DmfException
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class FunctionWrongArgumentTypeException sealed : public DmfException
[<SealedAttribute>]
[<SerializableAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type FunctionWrongArgumentTypeException =  
    class 
        inherit DmfException 
    end
public final class FunctionWrongArgumentTypeException extends DmfException

FunctionWrongArgumentTypeException 型は、以下のメンバーを公開しています。

コンストラクター

  名前 説明
パブリック メソッド FunctionWrongArgumentTypeException() FunctionWrongArgumentTypeException クラスの新しいインスタンスを初期化します。
パブリック メソッド FunctionWrongArgumentTypeException(String) 指定されたメッセージ テキストを持つ FunctionWrongArgumentTypeException クラスの新しいインスタンスを初期化します。
パブリック メソッド FunctionWrongArgumentTypeException(String, Exception) 指定されたメッセージ テキストと内部例外を持つ ExceptionAlreadyRegisteredException クラスの新しいインスタンスを初期化します。
パブリック メソッド FunctionWrongArgumentTypeException(String, String, String) 指定された関数、受け取った型、および必要な型を持つ ExceptionAlreadyRegisteredException クラスの新しいインスタンスを初期化します。

先頭に戻る

プロパティ

  名前 説明
パブリック プロパティ Data (Exception から継承されています。)
パブリック プロパティ DmfExceptionType DMF の例外の種類を取得します。 (DmfException.DmfExceptionType をオーバーライドします。)
パブリック プロパティ ExpectedType 関数が必要とした型を取得します。
パブリック プロパティ FunctionName 例外の原因になった関数の名前を取得します。
パブリック プロパティ HelpLink 例外のヘルプ リンクを取得します。 (DmfException から継承されています。)
パブリック プロパティ HResult (Exception から継承されています。)
パブリック プロパティ InnerException (Exception から継承されています。)
パブリック プロパティ Message 例外に関連付けられたメッセージを取得します。 (Exception.Message をオーバーライドします。)
パブリック プロパティ ReceivedType 関数が受け取った型を取得します。
パブリック プロパティ 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 名前空間