InvalidSqlServer2005StoreFormatException 构造函数 (SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidSqlServer2005StoreFormatException class that has the specified serialization information and streaming context.
命名空间: Microsoft.SqlServer.Management.RegisteredServers
程序集: Microsoft.SqlServer.Management.RegisteredServers(在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)
语法
声明
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
用法
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New InvalidSqlServer2005StoreFormatException(info, context)
protected InvalidSqlServer2005StoreFormatException(
SerializationInfo info,
StreamingContext context
)
protected:
InvalidSqlServer2005StoreFormatException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> InvalidSqlServer2005StoreFormatException
protected function InvalidSqlServer2005StoreFormatException(
info : SerializationInfo,
context : StreamingContext
)
参数
- info
类型:System.Runtime.Serialization. . :: . .SerializationInfo
A SerializationInfo value that specifies the serialization information that is associated with the exception.
- context
类型:System.Runtime.Serialization. . :: . .StreamingContext
A StreamingContext value that specifies the streaming context that is associated with the exception.
注释
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。