示例#1
0
 /// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 public XmlRpcProtocol[] GetProtocols()
 {
     XmlRpcProtocol[] protocols = null;
     try
     {
         if (IsConnectionEnabled)
         {
             protocols = myXmlRpcProxy.GetProtocols();
         }
     }
     catch (Exception ex)
     {
         // Log the details of the exception
         LogException(ex, "GetProtocols");
     }
     return(protocols);
 }