ResetHeaders Method
Resets all the message headers to empty.
Syntax
[VB.NET] Public Sub ResetHeaders()
[C#] public void ResetHeaders();
Remarks
This method resets all the message headers to "" (empty string). Use this method before creating a new message, so that headers from the previous message are not carried over to the next one.
NOTE: This method has a corresponding asynchronous version (ResetHeadersAsync) for use in the Xamarin environment.