Example #1
0
 /// <summary>
 /// Resets the message handle (sets the number of active messages to zero) so it can be reused. The memory allocated for the current messages in the handle is retained for performance reasons and will be reused when you add new messages to the handle.
 /// </summary>
 /// <exception cref="ObjectDisposedException">The <see cref="Message"/> instance has been disposed.</exception>
 /// <remarks>The corresponding native function is mdf_message_reset.</remarks>
 public void Reset()
 {
     ThrowIfDisposed();
     _nativeImplementation.mdf_message_reset(Handle);
 }