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

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

procedure Invoke(const MethodName: string; const Args: array of Variant); overload;

 

Description

The Invoke method invokes a hub method on the server using the specified method name, arguments and return type. The Invoke 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

InvokeObj

Register

Send

 

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