(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / class / System.Messaging / System.Messaging / MessageEnumerator.cs
bloba067d0391bc9900d8fa3f238fc4872841495c598
1 //
2 // System.Messaging
3 //
4 // Authors:
5 // Peter Van Isacker (sclytrack@planetinternet.be)
6 //
7 // (C) 2003 Peter Van Isacker
8 //
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:
18 //
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
21 //
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.
31 using System;
32 using System.Collections;
34 namespace System.Messaging
36 public class MessageEnumerator: MarshalByRefObject, IEnumerator, IDisposable
38 [MonoTODO]
39 internal MessageEnumerator (MessageQueue owner)
43 public Message Current {
44 [MonoTODO]
45 get {throw new NotImplementedException();}
47 object IEnumerator.Current {
48 [MonoTODO]
49 get {throw new NotImplementedException();}
51 public IntPtr CursorHandle {
52 [MonoTODO]
53 get {throw new NotImplementedException();}
55 [MonoTODO]
56 public void Close()
58 throw new NotImplementedException();
61 public void Dispose()
63 Dispose (true);
64 GC.SuppressFinalize (this);
67 protected virtual void Dispose(bool disposing)
69 Close();
72 [MonoTODO]
73 public bool MoveNext()
75 throw new NotImplementedException();
77 [MonoTODO]
78 public bool MoveNext(TimeSpan timeout)
80 throw new NotImplementedException();
82 [MonoTODO]
83 public Message RemoveCurrent()
85 throw new NotImplementedException();
87 [MonoTODO]
88 public Message RemoveCurrent(MessageQueueTransaction transaction)
90 throw new NotImplementedException();
92 [MonoTODO]
93 public Message RemoveCurrent(MessageQueueTransactionType transactionType)
95 throw new NotImplementedException();
97 [MonoTODO]
98 public Message RemoveCurrent(TimeSpan timeout)
100 throw new NotImplementedException();
102 [MonoTODO]
103 public Message RemoveCurrent(TimeSpan timeout, MessageQueueTransaction transaction)
105 throw new NotImplementedException();
107 [MonoTODO]
108 public Message RemoveCurrent(TimeSpan timeout, MessageQueueTransactionType transactionType)
110 throw new NotImplementedException();
112 [MonoTODO]
113 public void Reset()
115 Close ();
118 [MonoTODO]
119 ~MessageEnumerator()
121 Dispose(false);