Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.9
|
Leadtools.Forms.Ocr Assembly > Leadtools.Forms.Ocr Namespace > OcrException Class : GetObjectData Method |
[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( SerializationInfo info, StreamingContext context )
'Declaration
<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 SerializationInfo, _ ByVal context As StreamingContext _ )
'Usage
Dim instance As OcrException Dim info As SerializationInfo Dim context As StreamingContext instance.GetObjectData(info, context)
[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( SerializationInfo info, StreamingContext context )
SecurityPermissionAttribute(Flags=SecurityPermissionFlag.SerializationFormatter, Assertion=, UnmanagedCode=, SkipVerification=, Execution=, ControlThread=, ControlEvidence=, ControlPolicy=, SerializationFormatter=, ControlDomainPolicy=, ControlPrincipal=, ControlAppDomain=, RemotingConfiguration=, Infrastructure=, BindingRedirects=, Action=SecurityAction.Demand, Unrestricted=) function Leadtools.Forms.Ocr.OcrException.GetObjectData( info , context )
[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: void GetObjectData( SerializationInfo^ info, StreamingContext context ) override
GetObjectData sets a SerializationInfo with all the exception object data targeted for serialization. During deserialization, the exception is reconstituted from the SerializationInfo transmitted over the stream. For more information, refer to the topic "XML and SOAP Serialization" in the MSDN documentation.