Cancels the sending operation.

Namespace: Mergecom.HL7
Assembly: Mergecom.HL7 (in Mergecom.HL7.dll) Version: 4.3.0.0

Syntax

C#
public void Cancel()
Visual Basic
Public Sub Cancel
Visual C++
public:
void Cancel()

Remarks

Calling this method sends a cancel request to the message sending thread. Whether the operation can be cancelled successfully depends on the current state of the operation. If the message hasn't been sent to the receiver, or the transmitter hasn't started another retry after a failed transmission, the cancel request can be processed as defined, otherwise, it's ignored. Note: The effect of calling this method is non-determined based on the request timing.

See Also