Stop() публичный Метод

Stop the message broker.
public Stop ( ) : void
Результат void
Пример #1
0
 /// <summary>
 /// This method supports the Fluorine infrastructure and is not intended to be used directly from your code.
 /// </summary>
 public void Stop()
 {
     lock (SyncRoot)
     {
         if (_messageBroker != null)
         {
             if (log.IsInfoEnabled)
             {
                 log.Info(__Res.GetString(__Res.MessageServer_Stop));
             }
             _messageBroker.Stop();
             _messageBroker = null;
             if (_policyServer != null)
             {
                 _policyServer.Close();
                 _policyServer = null;
             }
         }
     }
 }