Puts the message body in read-only mode and repositions the stream of bytes to the beginning.
Namespace:
Apache.NMSAssembly: Apache.NMS (in Apache.NMS.dll)
Syntax
| Visual Basic |
|---|
Sub Reset |
| C# |
|---|
void Reset() |
| Visual C++ |
|---|
void Reset() |
| JavaScript |
|---|
function reset(); |
Exceptions
| Exception | Condition |
|---|---|
| Apache.NMS..::..MessageFormatException | Thrown when the Message has an invalid format. |
| Apache.NMS..::..NMSException | Thrown when there is an unhandled exception thrown from the provider. |