LEADTOOLS Medical (Leadtools.Dicom.Web assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.25
CacheInitializationFailed Event
See Also 
Leadtools.Dicom.Web Namespace > MedicalWebViewerLoader Class : CacheInitializationFailed Event



Occurs when connecting to the WCF service fail to retrieve the cache timeout information.

Syntax

Visual Basic (Declaration) 
Public Event CacheInitializationFailed As EventHandler(Of CacheInitializationFailedEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As MedicalWebViewerLoader
Dim handler As EventHandler(Of CacheInitializationFailedEventArgs)
 
AddHandler instance.CacheInitializationFailed, handler
C# 
public event EventHandler<CacheInitializationFailedEventArgs> CacheInitializationFailed
C++/CLI 
public:
event EventHandler<CacheInitializationFailedEventArgs^>^ CacheInitializationFailed

Event Data

The event handler receives an argument of type CacheInitializationFailedEventArgs containing data related to this event. The following CacheInitializationFailedEventArgs properties provide information specific to this event.

PropertyDescription
DefaultCacheTimeout Gets or sets the default cache timeout value.
LoadDefault Gets or sets a value indicating whether to load default cache values without connecting to the WCF service.

Example

Refer to the Medical Web Viewer demo in the WorkstationWebViewer project.

Remarks

This event is raised each time the MedicalWebViewerLoader fail to retrieve the cache initialization information from the WCf service.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also