LEADTOOLS WebForms and AJAX (Leadtools.Web.Services assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.25
OnCallService Method
See Also 
Leadtools.Web.Services Namespace > ServiceStreamer<TStreamedData,TServiceState> 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 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 abstract TStreamedData OnCallService( 
   int currentStreamNumber,
   TServiceState state
)
C++/CLI 
protected:
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: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also