public RPCConnectResult(string flexMessage)
 {
     if (flexMessage == "success")
         Result = RPCConnectResultType.Success;
     else
     {
         Result = RPCConnectResultType.FlexError;
         FlexErrorMessage = flexMessage;
     }
 }
 public RPCConnectResult(string flexMessage)
 {
     if (flexMessage == "success")
     {
         Result = RPCConnectResultType.Success;
     }
     else
     {
         Result           = RPCConnectResultType.FlexError;
         FlexErrorMessage = flexMessage;
     }
 }
 public RPCConnectResult(RPCConnectResultType result, Fault fault)
 {
     Result = result;
     FlexLoginFault = fault;
 }
 public RPCConnectResult(Exception exception)
 {
     Result = RPCConnectResultType.AuthenticationError;
     ConnectionError = exception;
 }
 public RPCConnectResult(RPCConnectResultType result, Fault fault)
 {
     Result         = result;
     FlexLoginFault = fault;
 }
 public RPCConnectResult(Exception exception)
 {
     Result          = RPCConnectResultType.AuthenticationError;
     ConnectionError = exception;
 }