PasswordWriteOnlyException Constructor (SerializationInfo, StreamingContext)

Creates a new instance of the PasswordWriteOnlyException 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 PasswordWriteOnlyException (
    SerializationInfo info,
    StreamingContext context
)
protected:
PasswordWriteOnlyException (
    SerializationInfo^ info, 
    StreamingContext context
)
protected PasswordWriteOnlyException (
    SerializationInfo info, 
    StreamingContext context
)
protected function PasswordWriteOnlyException (
    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 的硬件和软件要求。

请参阅

参考

PasswordWriteOnlyException Class
PasswordWriteOnlyException Members
Microsoft.SqlServer.Replication Namespace