Message.Reset
Method
Visual Basic
Public Sub Reset
()
C#
public void Reset
();
Purpose
Clear a message, preparing it for re-use.
Remarks
This method is the equivalent of creating a new message—except that the unmanaged storage is re-used.
When this method returns, the message has no fields; it is like a newly created message. The message’s address information is also reset.