FunctionBadDatePartException クラス

FunctionBadDatePartException クラスは、関数に渡される日付の形式が正しくない場合に発生する例外です。

継承階層

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

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

構文

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

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

コンストラクター

  名前 説明
パブリック メソッド FunctionBadDatePartException() FunctionBadDatePartException クラスの新しいインスタンスを初期化します。
パブリック メソッド FunctionBadDatePartException(String) 指定されたメッセージ テキストを持つ FunctionBadDatePartException クラスの新しいインスタンスを初期化します。
パブリック メソッド FunctionBadDatePartException(String, Exception) 指定されたメッセージ テキストと内部例外を持つ ExceptionAlreadyRegisteredException クラスの新しいインスタンスを初期化します。

先頭に戻る

プロパティ

  名前 説明
パブリック プロパティ Data (Exception から継承されています。)
パブリック プロパティ DmfExceptionType DMF の例外の種類を取得します。 (DmfException.DmfExceptionType をオーバーライドします。)
パブリック プロパティ HelpLink 例外のヘルプ リンクを取得します。 (DmfException から継承されています。)
パブリック プロパティ HResult (Exception から継承されています。)
パブリック プロパティ InnerException (Exception から継承されています。)
パブリック プロパティ Message (Exception から継承されています。)
パブリック プロパティ 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 名前空間