共用方式為


ReplicationAgentException Class

Definition

The base exception class for exceptions generated during replication agent execution.

public ref class ReplicationAgentException : Exception
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public class ReplicationAgentException : Exception
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
type ReplicationAgentException = class
    inherit Exception
Public Class ReplicationAgentException
Inherits Exception
Inheritance
ReplicationAgentException
Derived
Attributes

Constructors

ReplicationAgentException()

Creates a new instance of the ReplicationAgentException class.

ReplicationAgentException(SerializationInfo, StreamingContext)

Creates a new instance of the ReplicationAgentException class with serialized data.

ReplicationAgentException(String, Exception)

Creates a new instance of the ReplicationAgentException class with a specified error message and a reference to the inner exception that is the cause of this exception.

ReplicationAgentException(String)

Creates a new instance of the ReplicationAgentException class with a specified error message.

Properties

MessageCode

Gets the error code of the underlying error.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the specified SerializationInfo with information about the exception.

Applies to