public override void Logout(LogOutInfo logOutInfo) { try { m_CargoHostEndPoint.LogOut(logOutInfo.WorkstationId); lock (_updateCaseAssignmentLock) { base.ClearAssignments(logOutInfo.WorkstationId); CaseListUpdateEvent(String.Empty, logOutInfo.WorkstationId, String.Empty, false); RemoveLoadBalanceWorkstation(logOutInfo.WorkstationId); } if (m_TIPManagerComm != null) { m_TIPManagerComm.ClearAssignments(logOutInfo.WorkstationId); } } catch (Exception ex) { throw new FaultException(new FaultReason(ex.Message)); } }
private void button2_Click(object sender, RoutedEventArgs e) { try { LogOutInfo logOutInfo = new LogOutInfo(m_AWSId); m_AWSCommEndPoint1.Logout(logOutInfo); Tab1LogListBox.Items.Add("Result: Successful"); } catch (Exception ex) { Tab1LogListBox.Items.Add(ex.Message.ToString()); } }
public void Logout (LogOutInfo logOutInfo) { m_CaseSourceManager.Logout(logOutInfo); }