InfoConnect API Guide
Attachmate.Reflection.Framework Namespace / VBAReferenceIncorrectSessionTypeException Class / VBAReferenceIncorrectSessionTypeException Constructor / VBAReferenceIncorrectSessionTypeException 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
    VBAReferenceIncorrectSessionTypeException Constructor(SerializationInfo,StreamingContext)
    In This Topic
    Initializes a new instance of the 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 VBAReferenceIncorrectSessionTypeException(info, context)
    protected VBAReferenceIncorrectSessionTypeException( 
       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