共用方式為


RegisteredServerException 類別

The RegisteredServerException enumeration contains values that determine the kind of exception that was generated by the Registered Servers service.

繼承階層

System.Object
  System.Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.RegisteredServers.RegisteredServerException
        Microsoft.SqlServer.Management.RegisteredServers.InvalidSqlServer2005StoreFormatException

命名空間:  Microsoft.SqlServer.Management.RegisteredServers
組件:  Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)

語法

'宣告
<SerializableAttribute> _
Public Class RegisteredServerException _
    Inherits SqlServerManagementException
'用途
Dim instance As RegisteredServerException
[SerializableAttribute]
public class RegisteredServerException : SqlServerManagementException
[SerializableAttribute]
public ref class RegisteredServerException : public SqlServerManagementException
[<SerializableAttribute>]
type RegisteredServerException =  
    class 
        inherit SqlServerManagementException 
    end
public class RegisteredServerException extends SqlServerManagementException

RegisteredServerException 型別公開下列成員。

建構函式

  名稱 說明
公用方法 RegisteredServerException() Initializes an instance of the RegisteredServerException class.
公用方法 RegisteredServerException(String) Initializes an instance of the RegisteredServerException class with the specified message.
受保護的方法 RegisteredServerException(SerializationInfo, StreamingContext) Initializes an instance of the RegisteredServerException class with the specified serialized object data and contextual information.
公用方法 RegisteredServerException(String, Exception) Initializes an instance of the RegisteredServerException class with the specified message and inner exception.

上層

屬性

  名稱 說明
公用屬性 Data (繼承自 Exception。)
公用屬性 HelpLink Gets a String value that has a link to additional information about the exception. (覆寫 Exception.HelpLink。)
公用屬性 HResult (繼承自 Exception。)
公用屬性 InnerException (繼承自 Exception。)
公用屬性 Message (繼承自 Exception。)
受保護的屬性靜態成員 ProdVer Gets a String value that specifies the version of the instance of the Database Engine that raised the exception.
公用屬性 RegisteredServerExceptionType Gets the type of the exception.
公用屬性 Source (繼承自 Exception。)
公用屬性 StackTrace (繼承自 Exception。)
公用屬性 TargetSite (繼承自 Exception。)

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetBaseException (繼承自 Exception。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetObjectData 安全性關鍵。 (繼承自 Exception。)
公用方法 GetType (繼承自 Exception。)
受保護的方法 Init Initializes the properties of a RegisteredServerException object
受保護的方法 MemberwiseClone (繼承自 Object。)
受保護的方法 SetHelpContext Sets the help context for the exception.
公用方法 ToString (繼承自 Exception。)

上層

事件

  名稱 說明
受保護的事件 SerializeObjectState (繼承自 Exception。)

上層

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Management.RegisteredServers 命名空間