Конструктор UtilityException (SerializationInfo, StreamingContext)
Initializes a new, default instance of the UtilityException class with serialized data.
Пространство имен: Microsoft.SqlServer.Management.Utility
Сборка: Microsoft.SqlServer.Management.Utility (в Microsoft.SqlServer.Management.Utility.dll)
Синтаксис
'Декларация
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Применение
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New UtilityException(info, context)
protected UtilityException(
SerializationInfo info,
StreamingContext context
)
protected:
UtilityException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> UtilityException
protected function UtilityException(
info : SerializationInfo,
context : StreamingContext
)
Параметры
- info
Тип: System.Runtime.Serialization. . :: . .SerializationInfo
Holds the serialized object data about the exception being thrown.
- context
Тип: System.Runtime.Serialization. . :: . .StreamingContext
Contains contextual information about the source or destination.