CloseConnection Event
Fires when the update session completes.
Syntax
public event OnCloseConnectionHandler OnCloseConnection; public delegate void OnCloseConnectionHandler(object sender, QbwcserverCloseConnectionEventArgs e); public class QbwcserverCloseConnectionEventArgs : EventArgs { public string SessionTicket { get; } public string ResponseMessage { get; set; } }
Public Event OnCloseConnection As OnCloseConnectionHandler Public Delegate Sub OnCloseConnectionHandler(sender As Object, e As QbwcserverCloseConnectionEventArgs) Public Class QbwcserverCloseConnectionEventArgs Inherits EventArgs Public ReadOnly Property SessionTicket As String Public Property ResponseMessage As String End Class
Remarks
This event fires when QuickBooks Web Connector notifies your application that the update is complete. This is the last event to fire in a session. Parameters are as follows:
SessionTicket identifies the session.
ResponseMessage may be set to a message that will be displayed in the "Last result" field in QuickBooks Web Connector.