ServerChannelSendReply Method (Object, Int32, Boolean) |
Namespace: OBCOM.NetClient
The reply data is converted to a string using the standard
ToString
The replyCode indicates the completion status of the transaction, such as ACK (for success) or NAK (in case of failure).
If hold is true, the server application will enter a hold state. This hold state can later be released using the ReleaseHold method.
This method can only be used within the context of a ProcessTransaction(String, Message) method. In other words, you can only send a reply message to an active transaction request. If there is no active transaction request, then this method does nothing. If this method is used more than once within the context of the same transaction request, only the first call will send a reply. The other calls will be silently ignored. In other words, you can only send one reply message to a transaction request.