AdomdException.ISerializable.GetObjectData 方法
使用序列化 AdomdException 所需的数据填充指定的 SerializationInfo 对象。
命名空间: Microsoft.AnalysisServices.AdomdServer
程序集: msmgdsrv(在 msmgdsrv.dll 中)
语法
声明
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
Private Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
) Implements ISerializable.GetObjectData
用法
Dim instance As AdomdException
Dim info As SerializationInfo
Dim context As StreamingContext
CType(instance, ISerializable).GetObjectData(info, _
context)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
void ISerializable.GetObjectData(
SerializationInfo info,
StreamingContext context
)
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)]
private:
virtual void GetObjectData(
SerializationInfo^ info,
StreamingContext context
) sealed = ISerializable::GetObjectData
[<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)>]
private abstract GetObjectData :
info:SerializationInfo *
context:StreamingContext -> unit
[<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)>]
private override GetObjectData :
info:SerializationInfo *
context:StreamingContext -> unit
JScript 支持使用显式接口实现,但不支持声明新显式接口实现。
参数
- info
类型:SerializationInfo
要用数据填充的 SerializationInfo。
- context
类型:StreamingContext
此序列化的目标。
实现
ISerializableGetObjectData(SerializationInfo, StreamingContext)