RequestRemote
Calling this method triggers the asynchronous request on a remote target system.
Syntax
METHOD RequestRemote : HRESULT
VAR_INPUT
ipRemoteLogger : I_TcRemoteEventLogger
eventClass : GUID;
END_VAR
VAR_IN_OUT CONSTANT
text : STRING;
END_VAR
VAR_INPUT
nLangId : DINT;
ipArgs : I_TcArguments;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
ipRemoteLogger | I_TcRemoteEventLogger | Instance of I_TcRemoteEventLogger, which describes the target system. |
eventClass | GUID | Specifies the event class to be used as the basis for the query. |
text | STRING | The text to be translated |
nLangId | DINT | Specifies the language ID: English (en-US) = 1033 The TcLcid enum can be used. |
ipArgs | Optional specification of arguments. |
Return value
Name | Type | Description |
---|---|---|
RequestRemote | HRESULT | Returns possible error information. S_OK if the query is successful. ADS_E_INVALIDSTATE if the target system is in an invalid state. ADS_E_NOMEMORY if no memory is available to store the result. ADS_E_PENDING if the query is still pending. |