MethodDictionary.Call Method (Object, Exception, String, Object[])

Tungsten Suite

MethodDictionaryCall Method (Object, Exception, String, Object)

Call a method on the Tungsten.Net.RPC Server. This method s

Namespace:  W.Net.RPC
Assembly:  Tungsten.Net (in Tungsten.Net.dll) Version: 2.0.2
Syntax
C#
public bool Call(
	out Object result,
	out Exception exception,
	string method,
	params Object[] args
)

Parameters

result
Type: SystemObject
The value returned from the called method
exception
Type: SystemException
The exception if one occurred
method
Type: SystemString
The namespace, class name and method name of the method to call (ie: MyNamespace.MyClass.Method1)
args
Type: SystemObject
Arguments, if any, to be passed into the remote method

Return Value

Type: Boolean
A CallResult object describing the result of the call. If the remote method does not have a return value, the value of CallResult.Result will be null.
See Also