次の方法で共有


ComErrorException クラス

The exception that is thrown when a general error is raised by a replication agent.

継承階層

System.Object
  System.Exception
    System.SystemException
      System.Runtime.InteropServices.ExternalException
        System.Runtime.InteropServices.COMException
          Microsoft.SqlServer.Replication.ComErrorException

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

構文

'宣言
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public NotInheritable Class ComErrorException _
    Inherits COMException
'使用
Dim instance As ComErrorException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public sealed class ComErrorException : COMException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class ComErrorException sealed : public COMException
[<SealedAttribute>]
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type ComErrorException =  
    class 
        inherit COMException 
    end
public final class ComErrorException extends COMException

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

コンストラクター

  名前 説明
パブリック メソッド ComErrorException() Initializes a new instance of the ComErrorException class.
パブリック メソッド ComErrorException(String) Initializes a new instance of the ComErrorException class with a specified error message.
パブリック メソッド ComErrorException(String, Exception) Initializes a new instance of the ComErrorException class with a specified error message and a reference to the inner exception that is the cause of this exception.
パブリック メソッド ComErrorException(Int32, String, Int32, String, String, Guid, String) Initializes a new instance of the ComErrorException class.

先頭に戻る

プロパティ

  名前 説明
パブリック プロパティ ComHResult Gets the error code (HRESULT) value associated with this exception.
パブリック プロパティ Data (Exception から継承されています。)
パブリック プロパティ Description Gets a description of the error.
パブリック プロパティ ErrorCode (ExternalException から継承されています。)
パブリック プロパティ ErrorMessage Gets the error message string.
パブリック プロパティ HelpContext Gets the context of a topic in a Help file.
パブリック プロパティ HelpFile Gets the fully qualified path to a Help file.
パブリック プロパティ HelpLink (Exception から継承されています。)
パブリック プロパティ HResult (Exception から継承されています。)
パブリック プロパティ InnerException (Exception から継承されています。)
パブリック プロパティ InterfaceId Gets the identifier of the COM interface that is the source of the error.
パブリック プロパティ Message (Exception から継承されています。)
パブリック プロパティ Source Gets the name of the object or application that is the source of the error. (Exception.Source をオーバーライドします。)
パブリック プロパティ StackTrace (Exception から継承されています。)
パブリック プロパティ TargetSite (Exception から継承されています。)

先頭に戻る

メソッド

  名前 説明
パブリック メソッド Equals (Object から継承されています。)
パブリック メソッド GetBaseException (Exception から継承されています。)
パブリック メソッド GetHashCode (Object から継承されています。)
パブリック メソッド GetObjectData Sets the specified SerializationInfo with information about the exception. (Exception.GetObjectData(SerializationInfo, StreamingContext) をオーバーライドします。)
パブリック メソッド GetType (Exception から継承されています。)
パブリック メソッド ToString (COMException から継承されています。)

先頭に戻る

スレッド セーフ

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

関連項目

参照

Microsoft.SqlServer.Replication 名前空間