共用方式為


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
)

參數

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。