Frees the middleware's local copy of the Task input.

C# |
public void DiscardTaskInput()

If the developer has sucessfully extracted the Task input from the middleware and is concerned about the memory being consumed by the copy held in the middleware locally, this method can be used to free it.
NOTE:
Once the data is freed, any subsequent requests to attempt to retrieve it will result in an exception.

Exception | Condition |
---|---|
[SoamException] | If message coudl not be discarded |