NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MessagesEnumerator.Remove

Removes the current message from the underlying set of messages.

[Visual Basic]
Public Sub Remove()
[C#]
public void Remove();
[C++]
public: void Remove();
[JScript]
public function Remove();

Exceptions

Exception Type Condition
ArgumentException if the MoveNext method has not yet been called or if the last call to the MoveNext method returned false.
MessageQueueException if problems when accessing MSMQ.

See Also

MessagesEnumerator Class | MessagesEnumerator Members | System.Messaging Namespace