gov.va.medora.mdo.api.ToolsApi.runRpc C# (CSharp) Method

runRpc() public method

public runRpc ( ConnectionSet cxns, string rpcName, string paramValues, int paramTypes, bool paramEncrypted ) : IndexedHashtable
cxns gov.va.medora.mdo.dao.ConnectionSet
rpcName string
paramValues string
paramTypes int
paramEncrypted bool
return IndexedHashtable
        public IndexedHashtable runRpc(ConnectionSet cxns, string rpcName, string[] paramValues, int[] paramTypes, bool[] paramEncrypted)
        {
            return cxns.query("IToolsDao", "runRpc", new object[] { rpcName, paramValues, paramTypes, paramEncrypted });
        }

Same methods

ToolsApi::runRpc ( gov.va.medora.mdo.dao.AbstractConnection cxn, string rpcName, string paramValues, int paramTypes, bool paramEncrypted ) : string

Usage Example

Ejemplo n.º 1
0
        public TaggedTextArray runRpc(string rpcName, string[] paramValues, int[] paramTypes, bool[] paramEncrypted)
        {
            TaggedTextArray result = new TaggedTextArray();

            try
            {
                ToolsApi api = new ToolsApi();
                IndexedHashtable s = api.runRpc(mySession.ConnectionSet, rpcName, paramValues, paramTypes, paramEncrypted);
                return new TaggedTextArray(s);
            }
            catch (Exception exc)
            {
                result.fault = new FaultTO(exc);
                return result;
            }
        }