Click or drag to resize

LinkarClientSendCommandAsync Method

Linkar Framework for .NET and Core


Allows a variety of persistent operations using standard JSON templates, in a asynchronous way.

Namespace: Linkar.Commands.Persistent
Assembly: Linkar.Commands (in Linkar.Commands.dll) Version: 2.3.1
Syntax
public Task<string> SendCommandAsync(
	string command,
	ENVELOPE_FORMAT commandFormat = ENVELOPE_FORMAT.XML,
	int receiveTimeout = 0
)

Parameters

command  String
Content of the operation you want to send.
commandFormat  ENVELOPE_FORMAT  (Optional)
Indicates in what format you are doing the operation: XML or JSON.
receiveTimeout  Int32  (Optional)
Maximum time in seconds that the client will wait for a response from the server. Default = 0 to wait indefinitely.

Return Value

TaskString
The results of the operation.
See Also