VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Web.HttpHandlers Namespace / VintasoftImageHandler Class / RefreshStorageImages Method



In This Topic
    RefreshStorageImages Method (VintasoftImageHandler)
    In This Topic
    This method is obsolete from version 8.6.
    See remarks.
    Syntax
    'Declaration
     
    <ObsoleteAttribute(Message="This method is obsolete from version 8.6. See remarks.", IsError=True)>
    Protected Overridable Function RefreshStorageImages( _
       ByVal storageImageIds() As String _
    ) As BaseResponseParams
    [Obsolete(Message="This method is obsolete from version 8.6. See remarks.", IsError=true)]
    protected virtual BaseResponseParams RefreshStorageImages( 
       string[] storageImageIds
    )
    [Obsolete(Message="This method is obsolete from version 8.6. See remarks.", IsError=true)]
    protected: virtual BaseResponseParams* RefreshStorageImages( 
       string*[]* storageImageIds
    ) 
    [Obsolete(Message="This method is obsolete from version 8.6. See remarks.", IsError=true)]
    protected:
    virtual BaseResponseParams^ RefreshStorageImages( 
       array<String^>^ storageImageIds
    ) 

    Parameters

    storageImageIds
    Remarks
    In version 8.5 and earlier the SDK monitored images, which are stored in the data storage of web service, and allowed to dispose images, which are expired.
    Since version 8.6 the SDK does not monitor images, which are stored in the data storage of web service, and now you need manage images in the data storage of web service in your code.
    You can manage images in the data storage of web service if you will do the following steps:
    • Create a class, for example MyVintasoftImageLifetimeHandler.
    • In class MyVintasoftImageLifetimeHandler define methods, which allow to monitor and manage images in data storage. Each method must do the following steps:
      • Create a temporary data storage, which allows to access images used by web service.
      • Manage images using the temporary data storage, for example, delete the image from the data storage using the Vintasoft.Data.IDataStorage.DeleteItem method.
    Requirements

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

    See Also