LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)
LEAD Technologies, Inc

GetObjectData Method (OcrSupportLockedException)






The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.
Sets the System.Runtime.Serialization.SerializationInfo with information about the exception. .NET support
Syntax
[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)]
[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 | 
    SecurityAction.Deny | 
    SecurityAction.LinkDemand, 
   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)>
<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 Or  _
    SecurityAction.Deny Or  _
    SecurityAction.LinkDemand, 
   Unrestricted=False)>
Public Overrides Sub GetObjectData( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
) 
'Usage
 
Dim instance As OcrSupportLockedException
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)]
[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 | 
    SecurityAction.Deny | 
    SecurityAction.LinkDemand, 
   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=)
SecurityPermissionAttribute(Flags=SecurityPermissionFlag.SerializationFormatter, 
   Assertion=, 
   UnmanagedCode=, 
   SkipVerification=, 
   Execution=, 
   ControlThread=, 
   ControlEvidence=, 
   ControlPolicy=, 
   SerializationFormatter=, 
   ControlDomainPolicy=, 
   ControlPrincipal=, 
   ControlAppDomain=, 
   RemotingConfiguration=, 
   Infrastructure=, 
   BindingRedirects=, 
   Action=SecurityAction.Demand | 
    SecurityAction.Deny | 
    SecurityAction.LinkDemand, 
   Unrestricted=)
 function Leadtools.Forms.Ocr.OcrSupportLockedException.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)]
[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 | 
    SecurityAction.Deny | 
    SecurityAction.LinkDemand, 
   Unrestricted=false)]
public:
void GetObjectData( 
   SerializationInfo^ info,
   StreamingContext context
) override 

Parameters

info
The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
context
The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.
Remarks

GetObjectData sets a System.Runtime.Serialization.SerializationInfo with all the exception object data targeted for serialization. During deserialization, the exception is reconstituted from the System.Runtime.Serialization.SerializationInfo transmitted over the stream. For more information, refer to the topic "XML and SOAP Serialization" in the MSDN documentation.

Requirements

Target Platforms: 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

Reference

OcrSupportLockedException Class
OcrSupportLockedException Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

GetObjectData requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features