Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
After you finish sending and receiving information over the LU0 session, you must terminate your connection. Ending a session with Session Integrator consists primarily of calling SessionLU0.Disconnect
.
To terminate a connection with Session Integrator for LU0
End the connection by using
SessionLU0.Disconnect
.After you call
Disconnect
, you must callConnect
in order to re-establish a connection. This is true even if the call fails to complete successfully.If necessary, ensure that you have released all relevant data objects.
Example
The following code example shows how to terminate a Session Integrator session for LU0.
private void Disconnect_Click(object sender, EventArgs e)
{
// Disable every button and text box.
DisableEverything();
_session.Disconnect();
// Go back to the original state of buttons.
SetOpeningState();
}