LocalReport.ISerializable.GetObjectData 方法

命名空间:  Microsoft.Reporting.WebForms
程序集:  Microsoft.ReportViewer.WebForms(在 Microsoft.ReportViewer.WebForms.dll 中)

语法

声明
<SecurityCriticalAttribute> _
<SecurityTreatAsSafeAttribute> _
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
Private Sub GetObjectData ( _
    info As SerializationInfo, _
    context As StreamingContext _
) Implements ISerializable.GetObjectData
用法
Dim instance As LocalReport
Dim info As SerializationInfo
Dim context As StreamingContext

CType(instance, ISerializable).GetObjectData(info, _
    context)
[SecurityCriticalAttribute]
[SecurityTreatAsSafeAttribute]
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
void ISerializable.GetObjectData(
    SerializationInfo info,
    StreamingContext context
)
[SecurityCriticalAttribute]
[SecurityTreatAsSafeAttribute]
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)]
private:
virtual void GetObjectData(
    SerializationInfo^ info, 
    StreamingContext context
) sealed = ISerializable::GetObjectData
[<SecurityCriticalAttribute>]
[<SecurityTreatAsSafeAttribute>]
[<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)>]
private abstract GetObjectData : 
        info:SerializationInfo * 
        context:StreamingContext -> unit 
[<SecurityCriticalAttribute>]
[<SecurityTreatAsSafeAttribute>]
[<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)>]
private override GetObjectData : 
        info:SerializationInfo * 
        context:StreamingContext -> unit 

参数

实现

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

请参阅

参考

LocalReport 类

Microsoft.Reporting.WebForms 命名空间