RegisteredServerException Constructors

Definition

Initializes a new instance of the RegisteredServerException class.

Overloads

RegisteredServerException()

Initializes a new instance of the RegisteredServerException class.

RegisteredServerException(String)

Initializes a new instance of the RegisteredServerException class with the specified message.

RegisteredServerException(SerializationInfo, StreamingContext)

Initializes a new instance of the RegisteredServerException class with the specified message and specified inner exception.

RegisteredServerException(String, Exception)

Initializes a new instance of the RegisteredServerException class with the specified message and specified inner exception.

RegisteredServerException()

Initializes a new instance of the RegisteredServerException class.

public:
 RegisteredServerException();
public RegisteredServerException ();
Public Sub New ()

Remarks

Initializes fields to their default values.

Applies to

RegisteredServerException(String)

Initializes a new instance of the RegisteredServerException class with the specified message.

public:
 RegisteredServerException(System::String ^ message);
public RegisteredServerException (string message);
new Microsoft.SqlServer.Management.Smo.RegSvrEnum.RegisteredServerException : string -> Microsoft.SqlServer.Management.Smo.RegSvrEnum.RegisteredServerException
Public Sub New (message As String)

Parameters

message
String

A String value that specifies the message string for the Registered Server exception.

Applies to

RegisteredServerException(SerializationInfo, StreamingContext)

Initializes a new instance of the RegisteredServerException class with the specified message and specified inner exception.

protected:
 RegisteredServerException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected RegisteredServerException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.SqlServer.Management.Smo.RegSvrEnum.RegisteredServerException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.SqlServer.Management.Smo.RegSvrEnum.RegisteredServerException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

A SerializationInfo value system object that specifies the serialization information for the Registered Server exception.

context
StreamingContext

An StreamingContext object that specifies the streaming context for the Registered Server exception.

Applies to

RegisteredServerException(String, Exception)

Initializes a new instance of the RegisteredServerException class with the specified message and specified inner exception.

public:
 RegisteredServerException(System::String ^ message, Exception ^ previous);
public RegisteredServerException (string message, Exception previous);
new Microsoft.SqlServer.Management.Smo.RegSvrEnum.RegisteredServerException : string * Exception -> Microsoft.SqlServer.Management.Smo.RegSvrEnum.RegisteredServerException
Public Sub New (message As String, previous As Exception)

Parameters

message
String

A String value that specifies the message string for the Registered Server exception.

previous
Exception

An Exception object that specifies the inner exception for the Registered Server exception.

Applies to