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

Remove the cap handler for a capability.
public Remove ( string capsName ) : void
capsName string name of the capability of the cap /// handler to be removed
Результат void
Пример #1
0
 /// <summary>
 /// Remove all CAPS service handlers.
 /// </summary>
 public void DeregisterHandlers()
 {
     if (m_capsHandlers != null)
     {
         foreach (string capsName in m_capsHandlers.Caps)
         {
             m_capsHandlers.Remove(capsName);
         }
     }
 }
Пример #2
0
        /// <summary>
        /// Remove all CAPS service handlers.
        /// </summary>
        public void DeregisterHandlers()
        {
            foreach (string capsName in m_capsHandlers.Caps)
            {
                m_capsHandlers.Remove(capsName);
            }

            foreach (PollServiceEventArgs handler in m_pollServiceHandlers.Values)
            {
                m_httpListener.RemovePollServiceHTTPHandler("", handler.Url);
            }
        }