Leadtools.Jpip.Client Requires JPIP module product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AddDatabinCallback Delegate
See Also 
Leadtools.Jpip.Client Namespace : AddDatabinCallback Delegate



fields
A ResponseFields object containing the JPIP fields received from the server.
dataBin
The DataBinInfo object representing the data-bin received from the server.
endOfResponseReason
An EOR value representing the reason for the end of this server response.
state
User custom state object.
Represents the method that will handle the receiving of new data-bins.

Syntax

Visual Basic (Declaration) 
Public Delegate Sub AddDatabinCallback( _
   ByVal fields As ResponseFields, _
   ByVal dataBin As DataBinInfo, _
   ByVal endOfResponseReason As EOR, _
   ByVal state As Object _
) 
Visual Basic (Usage)Copy Code
Dim instance As New AddDatabinCallback(AddressOf HandlerMethod)
C# 
public delegate void AddDatabinCallback( 
   ResponseFields fields,
   DataBinInfo dataBin,
   EOR endOfResponseReason,
   object state
)
C++/CLI 
public delegate void AddDatabinCallback( 
   ResponseFields fields,
   DataBinInfo^ dataBin,
   EOR endOfResponseReason,
   Object^ state
)

Parameters

fields
A ResponseFields object containing the JPIP fields received from the server.
dataBin
The DataBinInfo object representing the data-bin received from the server.
endOfResponseReason
An EOR value representing the reason for the end of this server response.
state
User custom state object.

Remarks

The first time this delegate is called, the dataBin object will be null, the endOfResponseReason assigned to .None, and the fields object will contain the JPIP fields returned from the server.

In subsequent calls to this delegate, the fields object will be null and the dataBin will contain the data-bin received from the server.

In the last call to this delegate, a EOR value will be assigned to the endOfResponseReason parameter as read by the server response, and the dataBin and fields parameters will be null.

Requirements

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

See Also

Leadtools.Jpip.Clientrequires a JPIP Module and a server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features