/// <summary> /// </summary> public void Unsubscribe() { try { if (myXmlRpcProxy != null && IsConnectionEnabled) { // Disconnect from the XML-RPC server myXmlRpcProxy.Unsubscribe(RemotingInfo.GetInstance().IcsEventSinkURL); } } catch (Exception ex) { LogFile.LogException(TraceLevel.Error, ex); //DisableConnection(); throw new ApplicationException( "Unsubscribe exception", ex); } }