Метод XmlSerializationException.GetObjectData
Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.
Populates a SerializationInfo with the data needed to serialize the target object.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
Public Overrides Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Применение
Dim instance As XmlSerializationException
Dim info As SerializationInfo
Dim context As StreamingContext
instance.GetObjectData(info, context)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(
SerializationInfo info,
StreamingContext context
)
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)]
public:
virtual void GetObjectData(
SerializationInfo^ info,
StreamingContext context
) override
[<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)>]
abstract GetObjectData :
info:SerializationInfo *
context:StreamingContext -> unit
[<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)>]
override GetObjectData :
info:SerializationInfo *
context:StreamingContext -> unit
public override function GetObjectData(
info : SerializationInfo,
context : StreamingContext
)
Параметры
- info
Тип: System.Runtime.Serialization.SerializationInfo
The SerializationInfo to populate the data.
- context
Тип: System.Runtime.Serialization.StreamingContext
The destination for this serialization.
Реализует
ISerializable.GetObjectData(SerializationInfo, StreamingContext)
_Exception.GetObjectData(SerializationInfo, StreamingContext)