Collapse All Expand All | Language Filter: Visual Basic Language Filter: C#Language Filter: Visual C++Language Filter: JavaScript Visual Basic C# Visual C++ JavaScript | Example | See Also
.NET Framework Class Library
RemoteSession..::SafelyTransmitRPC Method (String, String, String)

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,
    	string context
    )

    Function SafelyTransmitRPC ( _
    	rpcCommand As String, _
    	rpcParameter As String, _
    	context As String _
    ) As String

    String^ SafelyTransmitRPC(
    	String^ rpcCommand,
    	String^ rpcParameter,
    	String^ context
    )

#### Parameters

rpcCommand
  String
  The remote procedure call name

rpcParameter
  String
  A carrot ^ delimited string of input parameters

context
  String

#### 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

RemoteSession Interface
SafelyTransmitRPC Overload
IndianHealthService.BMXNet Namespace