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



currentStreamNumber
The number of current stream to be processed.
state
User state information.
currentStreamNumber
The number of current stream to be processed.
state
User state information.
Perform the call to the web service.

Syntax

Visual Basic (Declaration) 
Protected Overridable MustOverride Function OnCallService( _
   ByVal currentStreamNumber As Integer, _
   ByVal state As TServiceState _
) As TStreamedData
Visual Basic (Usage)Copy Code
Dim instance As ServiceStreamer(Of TStreamedData,TServiceState)
Dim currentStreamNumber As Integer
Dim state As TServiceState
Dim value As TStreamedData
 
value = instance.OnCallService(currentStreamNumber, state)
C# 
protected virtual abstract TStreamedData OnCallService( 
   int currentStreamNumber,
   TServiceState state
)
C++/CLI 
protected:
virtual abstract TStreamedData OnCallService( 
   int currentStreamNumber,
   TServiceState state
) 

Parameters

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

Return Value

User typed data.

Remarks

You should call the web service on this method.

Use the currentStreamNumber to identify the number of calls performed.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, 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