ReportDataSourceCollection.ISerializable.GetObjectData-Methode
Diese API unterstützt die -Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.
Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in Microsoft.ReportViewer.WebForms.dll)
Syntax
'Declaration
<SecurityTreatAsSafeAttribute> _
<SecurityCriticalAttribute> _
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
Private Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
) Implements ISerializable.GetObjectData
'Usage
Dim instance As ReportDataSourceCollection
Dim info As SerializationInfo
Dim context As StreamingContext
CType(instance, ISerializable).GetObjectData(info, _
context)
[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 unterstützt die Verwendung von expliziten Schnittstellenimplementierungen, jedoch nicht die Deklaration neuer expliziter Schnittstellenimplementierungen.
Parameter
- context
Typ: System.Runtime.Serialization.StreamingContext
Implementiert
ISerializable.GetObjectData(SerializationInfo, StreamingContext)