共用方式為


ServerReport.ISerializable.GetObjectData 方法

命名空間:  Microsoft.Reporting.WebForms
組件:  Microsoft.ReportViewer.WebForms (在 Microsoft.ReportViewer.WebForms.dll 中)

語法

'宣告
<SecurityTreatAsSafeAttribute> _
<SecurityCriticalAttribute> _
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
Private Sub GetObjectData ( _
    info As SerializationInfo, _
    context As StreamingContext _
) Implements ISerializable.GetObjectData
[SecurityTreatAsSafeAttribute]
[SecurityCriticalAttribute]
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
void ISerializable.GetObjectData(
    SerializationInfo info,
    StreamingContext context
)
[SecurityTreatAsSafeAttribute]
[SecurityCriticalAttribute]
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)]
private:
virtual void GetObjectData(
    SerializationInfo^ info, 
    StreamingContext context
) sealed = ISerializable::GetObjectData
[<SecurityTreatAsSafeAttribute>]
[<SecurityCriticalAttribute>]
[<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)>]
private abstract GetObjectData : 
        info:SerializationInfo * 
        context:StreamingContext -> unit 
[<SecurityTreatAsSafeAttribute>]
[<SecurityCriticalAttribute>]
[<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)>]
private override GetObjectData : 
        info:SerializationInfo * 
        context:StreamingContext -> unit 
JScript 不支援明確介面實作。

參數

  • info
    類型:SerializationInfo
  • context
    類型:StreamingContext

實作

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

請參閱

參考

ServerReport 類別

Microsoft.Reporting.WebForms 命名空間