Exemple #1
0
 public override void StopListenerChannel(int listenerChannelId, bool immediate)
 {
     listenerChannelCallback.ReportStopped(0);
 }
 internal override void HandleStartListenerChannelError(IListenerChannelCallback listenerChannelCallback, Exception ex)
 {
     listenerChannelCallback.ReportStarted();
     listenerChannelCallback.ReportStopped(Marshal.GetHRForException(ex));
 } 
 internal virtual void HandleStartListenerChannelError(IListenerChannelCallback listenerChannelCallback, Exception ex)
 {
     // This is the workaround to let WAS know that the LC is started and then gracefully stopped.
     listenerChannelCallback.ReportStarted();
     listenerChannelCallback.ReportStopped(0);
 } 
 internal override void HandleStartListenerChannelError(IListenerChannelCallback listenerChannelCallback, Exception ex)
 {
     listenerChannelCallback.ReportStarted();
     listenerChannelCallback.ReportStopped(Marshal.GetHRForException(ex));
 }
 internal override void HandleStartListenerChannelError(IListenerChannelCallback listenerChannelCallback, Exception ex)
 {
     listenerChannelCallback.ReportStarted();
     listenerChannelCallback.ReportStopped(System.Runtime.InteropServices.Marshal.GetHRForException(ex));
 } 
 internal override void HandleStartListenerChannelError(IListenerChannelCallback listenerChannelCallback, Exception ex)
 {
     listenerChannelCallback.ReportStarted();
     listenerChannelCallback.ReportStopped(System.Runtime.InteropServices.Marshal.GetHRForException(ex));
 }
 internal virtual void HandleStartListenerChannelError(IListenerChannelCallback listenerChannelCallback, Exception ex)
 {
     // This is the workaround to let WAS know that the LC is started and then gracefully stopped.
     listenerChannelCallback.ReportStarted();
     listenerChannelCallback.ReportStopped(0);
 }