共用方式為


ReplicationAgentException Constructor (SerializationInfo, StreamingContext)

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

命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

語法

'宣告
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected ReplicationAgentException (
    SerializationInfo info,
    StreamingContext context
)
protected:
ReplicationAgentException (
    SerializationInfo^ info, 
    StreamingContext context
)
protected ReplicationAgentException (
    SerializationInfo info, 
    StreamingContext context
)
protected function ReplicationAgentException (
    info : SerializationInfo, 
    context : StreamingContext
)

參數

  • info
    The object that holds the serialized object data.
  • context
    The contextual information about the source or destination.

備註

This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

ReplicationAgentException Class
ReplicationAgentException Members
Microsoft.SqlServer.Replication Namespace