| LinkarClientSendCommand Method |
Linkar Framework for .NET and Core
Allows a variety of persistent operations using standard templates (XML, JSON), synchronously only.
Namespace: Linkar.Commands.PersistentAssembly: Linkar.Commands (in Linkar.Commands.dll) Version: 2.3.1
Syntax public string SendCommand(
string command,
ENVELOPE_FORMAT commandFormat = ENVELOPE_FORMAT.XML,
int receiveTimeout = 0
)
Public Function SendCommand (
command As String,
Optional commandFormat As ENVELOPE_FORMAT = ENVELOPE_FORMAT.XML,
Optional receiveTimeout As Integer = 0
) As String
public:
String^ SendCommand(
String^ command,
ENVELOPE_FORMAT commandFormat = ENVELOPE_FORMAT::XML,
int receiveTimeout = 0
)
member SendCommand :
command : string *
?commandFormat : ENVELOPE_FORMAT *
?receiveTimeout : int
(* Defaults:
let _commandFormat = defaultArg commandFormat ENVELOPE_FORMAT.XML
let _receiveTimeout = defaultArg receiveTimeout 0
*)
-> string
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
StringThe results of the operation.
See Also