VintaSoft Twain .NET SDK v10.2
Vintasoft.Twain.Web.WcfServices Namespace / VintasoftTwainWcfService Class / AllowableSessionInactivityTime Property




In This Topic
    AllowableSessionInactivityTime Property (VintasoftTwainWcfService)
    In This Topic
    Gets or sets an interval, in milliseconds, during which the session must be refreshed, i.e. marked as active.
    Syntax
    'Declaration
     
    Public Shared Property AllowableSessionInactivityTime As Integer
    'Usage
     
    Dim value As Integer
     
    VintasoftTwainWcfService.AllowableSessionInactivityTime = value
     
    value = VintasoftTwainWcfService.AllowableSessionInactivityTime
    public static int AllowableSessionInactivityTime {get; set;}
    public: __property static int get_AllowableSessionInactivityTime();
    public: __property static void set_AllowableSessionInactivityTime( 
       int value
    );
    public:
    static property int AllowableSessionInactivityTime {
       int get();
       void set (    int value);
    }

    Property Value

    Default value is 60000 milliseconds (1 minute). Minimum value is 100, maximum value is 3600000.
    Remarks
    TWAIN session can be refreshed, marked as active, using the RefreshTwainSession method.

    All expired TWAIN sessions can be closed using the CloseExpiredTwainSessions method.
    Requirements

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

    See Also