ReplicationAgentException Constructor (SerializationInfo, StreamingContext)
Creates a new instance of the ReplicationAgentException class with serialized data.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)
Syntax
'Declaration
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
)
Parameters
- info
The object that holds the serialized object data.
- context
The contextual information about the source or destination.
Remarks
This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
ReplicationAgentException Class
ReplicationAgentException Members
Microsoft.SqlServer.Replication Namespace