Version

GetObjectData Method (FormulaParseException)

Populates the specified System.Runtime.Serialization.SerializationInfo instance with this object's data.
Syntax
'Declaration
 
<System.Security.SecurityCriticalAttribute()>
<System.Security.Permissions.SecurityPermissionAttribute(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 System.Runtime.Serialization.SerializationInfo, _
   ByVal context As System.Runtime.Serialization.StreamingContext _
) 
[System.Security.SecurityCriticalAttribute()]
[System.Security.Permissions.SecurityPermissionAttribute(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( 
   System.Runtime.Serialization.SerializationInfo info,
   System.Runtime.Serialization.StreamingContext context
)

Parameters

info
The serialized object data.
context
The context information about the destination serialized stream.
Exceptions
ExceptionDescription
System.ArgumentNullExceptioninfo is null.
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub