[runtime] Don't consume exception if not allowed to
[mono.git] / mcs / class / System.ServiceModel / Dummy_XM_4_5.cs
1 using System.Collections.Generic;
2 using System.Reflection;
3 using System.Runtime.Serialization;
4 using System.Runtime.CompilerServices;
5 using System.ServiceModel.Channels;
6 using System.ServiceModel.Dispatcher;
7 using System.Text;
8 using System.Xml;
9 using System.Threading;
10
11 namespace System.ServiceModel
12 {
13         public class InstanceContext : CommunicationObject, IExtensibleObject<InstanceContext>
14         {
15                 protected internal override TimeSpan DefaultCloseTimeout
16                 {
17                         get { throw new NotImplementedException (); }
18                 }
19
20                 protected internal override TimeSpan DefaultOpenTimeout
21                 {
22                         get { throw new NotImplementedException (); }
23                 }
24
25                 IExtensionCollection<InstanceContext> IExtensibleObject<InstanceContext>.Extensions
26                 {
27                         get { throw new NotImplementedException (); }
28                 }
29
30                 public SynchronizationContext SynchronizationContext {
31                         get { throw new NotImplementedException (); }
32                         set { throw new NotImplementedException (); }
33                 }
34
35                 public InstanceContext (object implementation)
36                 {
37                 }
38
39                 public object GetServiceInstance (Message message)
40                 {
41                         throw new NotImplementedException ();
42                 }
43
44                 protected override void OnAbort ()
45                 {
46                         throw new NotImplementedException ();
47                 }
48
49                 protected override IAsyncResult OnBeginClose (TimeSpan timeout, AsyncCallback callback, object state)
50                 {
51                         throw new NotImplementedException ();
52                 }
53
54                 protected override IAsyncResult OnBeginOpen (TimeSpan timeout, AsyncCallback callback, object state)
55                 {
56                         throw new NotImplementedException ();
57                 }
58
59                 protected override void OnClose (TimeSpan timeout)
60                 {
61                         throw new NotImplementedException ();
62                 }
63
64                 protected override void OnClosed ()
65                 {
66                         throw new NotImplementedException ();
67                 }
68
69                 protected override void OnEndClose (IAsyncResult result)
70                 {
71                         throw new NotImplementedException ();
72                 }
73
74                 protected override void OnEndOpen (IAsyncResult result)
75                 {
76                         throw new NotImplementedException ();
77                 }
78
79                 protected override void OnFaulted ()
80                 {
81                         throw new NotImplementedException ();
82                 }
83
84                 protected override void OnOpen (TimeSpan timeout)
85                 {
86                         throw new NotImplementedException ();
87                 }
88
89                 protected override void OnOpened ()
90                 {
91                         throw new NotImplementedException ();
92                 }
93
94                 protected override void OnOpening ()
95                 {
96                         throw new NotImplementedException ();
97                 }
98         }
99 }
100
101 namespace System.ServiceModel.PeerResolvers
102 {
103         class Dummy {}
104 }
105
106 namespace System.ServiceModel.Configuration
107 {
108         class Dummy {}
109 }
110 namespace System.ServiceModel.Channels.Http
111 {
112 }
113 namespace System.ServiceModel.Channels.NetTcp
114 {
115 }
116
117 namespace System.ServiceModel.Dispatcher
118 {
119         public sealed class EndpointDispatcher
120         {
121                 internal EndpointDispatcher ()
122                 {
123                 }
124         }
125 }
126
127 namespace System.ServiceModel.Channels
128 {
129         public static class UrlUtility {
130                 public static string UrlEncode (string s, Encoding e)
131                 {
132                         return System.Runtime.UrlUtility.UrlEncode (s, e);
133                 }
134
135                 public static string UrlDecode (string s, Encoding e)
136                 {
137                         return System.Runtime.UrlUtility.UrlDecode (s, e);
138                 }
139         }
140 }
141
142 namespace System.ServiceModel.Description
143 {
144         public interface IPolicyExportExtension {}
145         public interface IPolicyImportExtension {}
146         public interface IWsdlExportExtension {}
147         public interface IWsdlImportExtension {}
148 }
149 namespace System.ServiceModel.Channels
150 {
151         public interface ITransportTokenAssertionProvider {}
152 }