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



currentStreamNumber
The number of current stream to be processed.
state
User state information.
Overloaded. Inherited from Generic ServiceStreamer

Syntax

Visual Basic (Declaration) 
Protected Overrides Function OnCallService( _
   ByVal currentStreamNumber As Integer, _
   ByVal state As Object _
) As RasterImage
Visual Basic (Usage)Copy Code
Dim instance As MedicalWebViewerStreamer
Dim currentStreamNumber As Integer
Dim state As Object
Dim value As RasterImage
 
value = instance.OnCallService(currentStreamNumber, state)
C# 
protected override RasterImage OnCallService( 
   int currentStreamNumber,
   object state
)
C++/CLI 
protected:
RasterImage OnCallService( 
   int currentStreamNumber,
   Object^ state
) override 

Parameters

currentStreamNumber
The number of current stream to be processed.
state
User state information.

Return Value

A RasterImage which is the result returned by calling the WCF DICOMService.

Remarks

When this method is called the MedicalWebViewerStreamer object will call the WCF DICOMService to get the requested image if not stored in the cache.

Requirements

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

See Also

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