Delen via


RegisteredServerException Class

The RegisteredServerException class represents the exception raised when an error occurs during server registration.

Inheritance Hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.SqlServer.Management.Smo.RegSvrEnum.RegisteredServerException

Namespace:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly:  Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class RegisteredServerException _
    Inherits ApplicationException
'Usage
Dim instance As RegisteredServerException
[SerializableAttribute]
public class RegisteredServerException : ApplicationException
[SerializableAttribute]
public ref class RegisteredServerException : public ApplicationException
[<SerializableAttribute>]
type RegisteredServerException =  
    class 
        inherit ApplicationException 
    end
public class RegisteredServerException extends ApplicationException

The RegisteredServerException type exposes the following members.

Constructors

  Name Description
Public method RegisteredServerException() Initializes a new instance of the RegisteredServerException class.
Public method RegisteredServerException(String) Initializes a new instance of the RegisteredServerException class with the specified message.
Protected method RegisteredServerException(SerializationInfo, StreamingContext) Initializes a new instance of the RegisteredServerException class with the specified message and specified inner exception.
Public method RegisteredServerException(String, Exception) Initializes a new instance of the RegisteredServerException class with the specified message and specified inner exception.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HelpLink (Inherited from Exception.)
Public property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Security Critical. (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

Events

  Name Description
Protected event SerializeObjectState (Inherited from Exception.)

Top

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Smo.RegSvrEnum Namespace