InfoConnect for Unisys
Attachmate.Reflection.Emulation.Common Namespace / APIException Class / APIException Constructor / APIException Constructor(SerializationInfo,StreamingContext)
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.


In This Topic
    APIException Constructor(SerializationInfo,StreamingContext)
    In This Topic
    Initializes a new instance of the Attachmate.Reflection.Emulation.Common.APIException class with serialized data.
    Syntax
    'Declaration
     
    
    Protected Function New( _
       ByVal info As SerializationInfo, _
       ByVal context As StreamingContext _
    )
    'Usage
     
    
    Dim info As SerializationInfo
    Dim context As StreamingContext
     
    Dim instance As New APIException(info, context)
    protected APIException( 
       SerializationInfo info,
       StreamingContext context
    )

    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.
    See Also