Конструктор SmoException (SerializationInfo, StreamingContext)
Initializes a new instance of the SmoException class with the specified serialization information and streaming context.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Применение
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New SmoException(info, context)
protected SmoException(
SerializationInfo info,
StreamingContext context
)
protected:
SmoException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> SmoException
protected function SmoException(
info : SerializationInfo,
context : StreamingContext
)
Параметры
- info
Тип: System.Runtime.Serialization. . :: . .SerializationInfo
A SerializationInfo object that specifies the serialization information.
- context
Тип: System.Runtime.Serialization. . :: . .StreamingContext
A StreamingContext context that specifies the streaming context.