BMXNET 4.0 Developer API

Calls a remote procedure on the RPMS server and returns the result as a String. If there are any exceptions a colon delimited string in the format Exception:Message is returned.

Namespace:  IndianHealthService.BMXNet
Assembly:  BMXNET40 (in BMXNET40.dll)

Syntax

         
 C#  Visual Basic  Visual C++ 
string SafelyTransmitRPC(
	string rpcCommand,
	string rpcParameter
)
Function SafelyTransmitRPC ( _
	rpcCommand As String, _
	rpcParameter As String _
) As String
String^ SafelyTransmitRPC(
	String^ rpcCommand, 
	String^ rpcParameter
)

Parameters

rpcCommand
String
The remote procedure call name
rpcParameter
String
A carrot ^ delimited string of input parameters

Return Value

The result of the RPC call. If there are any exceptions a colon delimited string in the format Exception:Message is returned.

Remarks

Presumes that the AppContext was set prior to the call.

Examples

Copy Code
            ...
            this.RemoteSession.AppContext="VEN RPC";
            ...
            String asqThreadholds= this.RemoteSession.SafelyTransmitRPC("VEN ASQ GET DATA", this.Context.Patient.Ien);
             

See Also