5 // Peter Van Isacker (sclytrack@planetinternet.be)
\r
7 // (C) 2003 Peter Van Isacker
\r
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
32 using System.Collections;
\r
34 namespace System.Messaging
\r
36 public class MessageEnumerator: MarshalByRefObject, IEnumerator, IDisposable
\r
39 internal MessageEnumerator (MessageQueue owner)
\r
43 public Message Current {
\r
45 get {throw new NotImplementedException();}
\r
47 object IEnumerator.Current {
\r
49 get {throw new NotImplementedException();}
\r
51 public IntPtr CursorHandle {
\r
53 get {throw new NotImplementedException();}
\r
58 throw new NotImplementedException();
\r
61 public void Dispose()
\r
64 GC.SuppressFinalize (this);
\r
67 protected virtual void Dispose(bool disposing)
\r
73 public bool MoveNext()
\r
75 throw new NotImplementedException();
\r
78 public bool MoveNext(TimeSpan timeout)
\r
80 throw new NotImplementedException();
\r
83 public Message RemoveCurrent()
\r
85 throw new NotImplementedException();
\r
88 public Message RemoveCurrent(MessageQueueTransaction transaction)
\r
90 throw new NotImplementedException();
\r
93 public Message RemoveCurrent(MessageQueueTransactionType transactionType)
\r
95 throw new NotImplementedException();
\r
98 public Message RemoveCurrent(TimeSpan timeout)
\r
100 throw new NotImplementedException();
\r
103 public Message RemoveCurrent(TimeSpan timeout, MessageQueueTransaction transaction)
\r
105 throw new NotImplementedException();
\r
108 public Message RemoveCurrent(TimeSpan timeout, MessageQueueTransactionType transactionType)
\r
110 throw new NotImplementedException();
\r
113 public void Reset()
\r
119 ~MessageEnumerator()
\r