procedure InvokeObj(const MethodName: string; const Args: array of TObject; const ReturnType: TVarType; out Res: Variant); overload;

procedure InvokeObj(const MethodName: string; const Args: array of TObject; const ReturnClass: TClass; out Res: TObject); overload;

procedure InvokeObj(const MethodName: string; const Args: array of TObject); overload;

 

Description

The InvokeObj method invokes a hub method on the server using the specified method name, arguments and return type. The InvokeObj method, unlike Send, waits till the server method completes and returns.

 

MethodName is the name of the server method to invoke.

Args is the arguments used to invoke the server method.

ReturnType is the return type of the server method.

Res is the hub method return value.

 

See Also

Invoke

Register

Send

 

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support