public Remove ( string capsName ) : void | ||
capsName | string | name of the capability of the cap /// handler to be removed |
return | void |
/// <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); } } }
/// <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); } }