Freigeben über


RegisteredServerException-Klasse

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

Vererbungshierarchie

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

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class RegisteredServerException _
    Inherits SqlServerManagementException
'Usage
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

Der RegisteredServerException-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode RegisteredServerException() Initializes an instance of the RegisteredServerException class.
Öffentliche Methode RegisteredServerException(String) Initializes an instance of the RegisteredServerException class with the specified message.
Geschützte Methode RegisteredServerException(SerializationInfo, StreamingContext) Initializes an instance of the RegisteredServerException class with the specified serialized object data and contextual information.
Öffentliche Methode RegisteredServerException(String, Exception) Initializes an instance of the RegisteredServerException class with the specified message and inner exception.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Data (Geerbt von Exception.)
Öffentliche Eigenschaft HelpLink Gets a String value that has a link to additional information about the exception. (Überschreibt Exception.HelpLink.)
Öffentliche Eigenschaft HResult (Geerbt von Exception.)
Öffentliche Eigenschaft InnerException (Geerbt von Exception.)
Öffentliche Eigenschaft Message (Geerbt von Exception.)
Geschützte EigenschaftStatisches Element ProdVer Gets a String value that specifies the version of the instance of the Database Engine that raised the exception.
Öffentliche Eigenschaft RegisteredServerExceptionType Gets the type of the exception.
Öffentliche Eigenschaft Source (Geerbt von Exception.)
Öffentliche Eigenschaft StackTrace (Geerbt von Exception.)
Öffentliche Eigenschaft TargetSite (Geerbt von Exception.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetBaseException (Geerbt von Exception.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetObjectData Sicherheitskritisch (Geerbt von Exception.)
Öffentliche Methode GetType (Geerbt von Exception.)
Geschützte Methode Init Initializes the properties of a RegisteredServerException object
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Geschützte Methode SetHelpContext Sets the help context for the exception.
Öffentliche Methode ToString (Geerbt von Exception.)

Zum Anfang

Ereignisse

  Name Beschreibung
Geschütztes Ereignis SerializeObjectState (Geerbt von Exception.)

Zum Anfang

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.RegisteredServers-Namespace