Click or drag to resize

LinkarExecutePersistentOperation Method

Linkar Framework .NET (Core and Framework)


Execute "persistent operations". These operations required that a session will be stablished previously with Login operation.

Namespace: Linkar
Assembly: Linkar (in Linkar.dll) Version: 2.3.1
Syntax
public static string ExecutePersistentOperation(
	ConnectionInfo connectionInfo,
	byte operationCode,
	string operationArgs,
	byte inputDataFormat,
	byte outputDataFormat,
	int receiveTimeout
)

Parameters

connectionInfo  ConnectionInfo
Contains the data necessary to access an established LinkarSERVER session.
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 ExecuteDirectOperation(CredentialOptions, Byte, String, Byte, Byte, Int32) function can generate LkException exceptions when a LINKAR system error occurs.
See Also