Leadtools.Dicom.Web Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
CreateCache Method
See Also 
Leadtools.Dicom.Web Namespace > MedicalWebViewerStreamer Class : CreateCache Method



streamer
A DicomWCFStreamer to get initialization data from the WCF service.
Creates a Cache object.

Syntax

Visual Basic (Declaration) 
Protected Overridable Function CreateCache( _
   ByVal streamer As DicomWCFStreamer _
) As Cache
Visual Basic (Usage)Copy Code
Dim instance As MedicalWebViewerStreamer
Dim streamer As DicomWCFStreamer
Dim value As Cache
 
value = instance.CreateCache(streamer)
C# 
protected virtual Cache CreateCache( 
   DicomWCFStreamer streamer
)
C++/CLI 
protected:
virtual Cache CreateCache( 
   DicomWCFStreamer^ streamer
) 

Parameters

streamer
A DicomWCFStreamer to get initialization data from the WCF service.

Return Value

Returns a Cache object to store the information retrieved from the WCf service.

Remarks

Note to inheritors: Override this method only when you need to change the way to retrieve the cache initialization parameters, if you only want to create your custom type of Cache with the same initialization information override the GetCache method.

If you override this method without calling the base class you should manually call the GetCache method.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

CreateCache requires a Web Viewer Framework Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features