Click or drag to resize

LinkarExecuteDirectOperation Method

Linkar Framework for .NET and Core


Execute "direct operations". These operations don't stablish a permanent session. Once the operations is finished, the session is closed.

Namespace: Linkar
Assembly: Linkar (in Linkar.dll) Version: 2.3.1
Syntax
public static string ExecuteDirectOperation(
	CredentialOptions credentialOptions,
	byte operationCode,
	string operationArgs,
	byte inputDataFormat,
	byte outputDataFormat,
	int receiveTimeout
)

Parameters

credentialOptions  CredentialOptions
The credentials for access to LinkarSERVER.
operationCode  Byte
Code of the operation to be performed.
operationArgs  String
Specific arguments of every operation.
inputDataFormat  Byte
Format of the input data.
outputDataFormat  Byte
Format of the output data.
receiveTimeout  Int32
Maximum time in seconds to wait the response from LinkarSERVER. A value less or equal to 0, wait for response indefinitely.

Return Value

String
Complex string with the result of the operation.
Exceptions
ExceptionCondition
LkExceptionThis function and ExecutePersistentOperation(ConnectionInfo, Byte, String, Byte, Byte, Int32) function can generate LkException exceptions when a LINKAR system error occurs.
See Also