ReportDataSourceCollection.ISerializable.GetObjectData, méthode
Cette API prend en charge l'infrastructure .NET Framework et n'est pas destinée à être utilisée directement à partir de votre code.
Espace de noms : Microsoft.Reporting.WebForms
Assembly : Microsoft.ReportViewer.WebForms (dans Microsoft.ReportViewer.WebForms.dll)
Syntaxe
'Déclaration
<SecurityCriticalAttribute> _
<SecurityTreatAsSafeAttribute> _
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
Private Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
) Implements ISerializable.GetObjectData
[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
JScript ne prend pas en charge les implémentations d'interfaces explicites.
Paramètres
- info
Type : SerializationInfo
- context
Type : StreamingContext
Implémentations
ISerializable.GetObjectData(SerializationInfo, StreamingContext)