Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

PropertyAccessExceptionsException.GetObjectData Method

Populates a SerializationInfo with the data needed to serialize the target object.

[Visual Basic]
<SecurityPermission(Flags:=SecurityPermissionFlag.SerializationFormatter, Assertion:=False, UnmanagedCode:=False, SkipVerification:=False, Execution:=False, ControlThread:=False, ControlEvidence:=False, ControlPolicy:=False, SerializationFormatter:=True, ControlDomainPolicy:=False, ControlPrincipal:=False, ControlAppDomain:=False, RemotingConfiguration:=False, Infrastructure:=False, BindingRedirects:=False, Action:=SecurityAction.Demand, Unrestricted:=False)> _
Public Overrides Sub GetObjectData( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
) _
    Implements ISerializable.GetObjectData
[C#]
[SecurityPermission(Flags=SecurityPermissionFlag.SerializationFormatter, Assertion=False, UnmanagedCode=False, SkipVerification=False, Execution=False, ControlThread=False, ControlEvidence=False, ControlPolicy=False, SerializationFormatter=True, ControlDomainPolicy=False, ControlPrincipal=False, ControlAppDomain=False, RemotingConfiguration=False, Infrastructure=False, BindingRedirects=False, Action=SecurityAction.Demand, Unrestricted=False)]
public override void GetObjectData(
   SerializationInfo info,
   StreamingContext context
);

Parameters

info
The SerializationInfo to populate with data.
context
The destination (see StreamingContext) for this serialization.

Implements

ISerializable.GetObjectData

See Also

PropertyAccessExceptionsException Class | Spring.Objects Namespace