VintaSoft Twain .NET SDK v10.2
Vintasoft.Twain.Web.Services Namespace / VintasoftTwainWebService Class / CloseExpiredTwainSessions Method
Interval, in milliseconds, during which the session must be refreshed, i.e. marked as active.




In This Topic
    CloseExpiredTwainSessions Method (VintasoftTwainWebService)
    In This Topic
    Closes the expired TWAIN sessions.
    Syntax
    'Declaration
     
    Public Shared Sub CloseExpiredTwainSessions( _
       ByVal allowableSessionInactivityTime As Integer _
    ) 
    'Usage
     
    Dim allowableSessionInactivityTime As Integer
     
    VintasoftTwainWebService.CloseExpiredTwainSessions(allowableSessionInactivityTime)
    public static void CloseExpiredTwainSessions( 
       int allowableSessionInactivityTime
    )
    public: static void CloseExpiredTwainSessions( 
       int allowableSessionInactivityTime
    ) 
    public:
    static void CloseExpiredTwainSessions( 
       int allowableSessionInactivityTime
    ) 

    Parameters

    allowableSessionInactivityTime
    Interval, in milliseconds, during which the session must be refreshed, i.e. marked as active.
    Requirements

    Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also