Fix null sessions in HttpContextWrapper.Session
[mono.git] / mcs / class / System.ServiceModel / System.ServiceModel / AllEnums.cs
1 //
2 // AllEnums.cs
3 //
4 // Author:
5 //      Atsushi Enomoto  <atsushi@ximian.com>
6 //
7 // Copyright (C) 2005 Novell, Inc (http://www.novell.com)
8 //
9 // Permission is hereby granted, free of charge, to any person obtaining
10 // a copy of this software and associated documentation files (the
11 // "Software"), to deal in the Software without restriction, including
12 // without limitation the rights to use, copy, modify, merge, publish,
13 // distribute, sublicense, and/or sell copies of the Software, and to
14 // permit persons to whom the Software is furnished to do so, subject to
15 // the following conditions:
16 // 
17 // The above copyright notice and this permission notice shall be
18 // included in all copies or substantial portions of the Software.
19 // 
20 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
23 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
24 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
25 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
26 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 //
28 namespace System.ServiceModel.Activation
29 {
30         public enum AspNetCompatibilityRequirementsMode
31         {
32                 NotAllowed,
33                 Allowed,
34                 Required,
35         }
36 }
37
38 namespace System.ServiceModel
39 {
40         public enum AddressFilterMode
41         {
42                 Exact,
43                 Prefix,
44                 Any
45         }
46
47         public enum AuditLevel
48         {
49                 None,
50                 Success,
51                 Failure,
52                 SuccessOrFailure,
53         }
54
55         public enum AuditLogLocation
56         {
57                 Default,
58                 Application,
59                 Security,
60         }
61
62         public enum BasicHttpMessageCredentialType
63         {
64                 UserName,
65                 Certificate,
66         }
67
68         public enum BasicHttpSecurityMode
69         {
70                 None,
71                 Transport,
72                 Message,
73                 TransportWithMessageCredential,
74                 TransportCredentialOnly,
75         }
76
77         public enum CommunicationState
78         {
79                 Created,
80                 Opening,
81                 Opened,
82                 Closing,
83                 Closed,
84                 Faulted,
85         }
86
87         public enum ConcurrencyMode
88         {
89                 Single,
90                 Reentrant,
91                 Multiple,
92         }
93
94         public enum HostNameComparisonMode
95         {
96                 StrongWildcard,
97                 Exact,
98                 WeakWildcard,
99         }
100
101         public enum ImpersonationOption
102         {
103                 NotAllowed,
104                 Allowed,
105                 Required,
106         }
107
108         public enum InstanceContextMode
109         {
110                 PerSession,
111                 PerCall,
112                 Single,
113         }
114
115         public enum NetMsmqSecurityMode
116         {
117                 None,
118                 Transport,
119                 Message,
120                 Both,
121         }
122
123         public enum NetNamedPipeSecurityMode
124         {
125                 None,
126                 Transport,
127         }
128
129         public enum OperationFormatStyle
130         {
131                 Document,
132                 Rpc,
133         }
134
135         public enum OperationFormatUse
136         {
137                 Literal,
138                 Encoded,
139         }
140
141         public enum PeerMessageOrigination
142         {
143                 Local,
144                 Remote,
145         }
146
147         public enum PeerMessagePropagation
148         {
149                 None,
150                 Local,
151                 Remote,
152                 LocalAndRemote,
153         }
154
155         public enum QueuedDeliveryRequirementsMode
156         {
157                 Allowed,
158                 Required,
159                 NotAllowed,
160         }
161
162         public enum PeerTransportCredentialType
163         {
164                 Password,
165                 Certificate,
166         }
167
168         public enum ReceiveErrorHandling
169         {
170                 Fault,
171                 Drop,
172                 Reject,
173                 Move,
174         }
175
176         public enum ReleaseInstanceMode
177         {
178                 None,
179                 BeforeCall,
180                 AfterCall,
181                 BeforeAndAfterCall,
182         }
183
184         public enum SessionMode
185         {
186                 Allowed,
187                 Required,
188                 NotAllowed,
189         }
190
191         public enum TransactionFlowOption
192         {
193                 NotAllowed,
194                 Allowed,
195                 Mandatory,
196         }
197
198         public enum WSDualHttpSecurityMode
199         {
200                 None,
201                 Message,
202         }
203
204         public enum WSFederationHttpSecurityMode
205         {
206                 None,
207                 Message,
208                 TransportWithMessageCredential,
209         }
210
211         public enum WSMessageEncoding
212         {
213                 Text,
214                 Mtom,
215         }
216
217 }
218
219 namespace System.ServiceModel // used to be S.SM.Ch
220 {
221         public enum DeadLetterQueue
222         {
223                 None,
224                 System,
225                 Custom,
226         }
227
228         public enum HttpClientCredentialType
229         {
230                 None,
231                 Basic,
232                 Digest,
233                 Ntlm,
234                 Windows,
235                 Certificate,
236         }
237
238         public enum HttpProxyCredentialType
239         {
240                 None,
241                 Basic,
242                 Digest,
243                 Ntlm,
244                 Windows,
245         }
246
247         public enum MessageCredentialType
248         {
249                 None,
250                 Windows,
251                 UserName,
252                 Certificate,
253                 IssuedToken,
254         }
255
256         public enum MsmqAuthenticationMode
257         {
258                 None,
259                 WindowsDomain,
260                 Certificate,
261         }
262
263         public enum MsmqEncryptionAlgorithm
264         {
265                 RC4Stream,
266                 Aes,
267         }
268
269         public enum MsmqSecureHashAlgorithm
270         {
271                 MD5,
272                 Sha1,
273                 Sha256,
274                 Sha512,
275         }
276
277         public enum QueueTransferProtocol
278         {
279                 Native,
280                 Srmp,
281                 SrmpSecure,
282         }
283
284         public enum SecurityMode
285         {
286                 None,
287                 Transport,
288                 Message,
289                 TransportWithMessageCredential,
290         }
291
292         public enum TcpClientCredentialType
293         {
294                 None,
295                 Windows,
296                 Certificate,
297         }
298 }
299
300 namespace System.ServiceModel.Channels
301 {
302         public enum MessageState
303         {
304                 Created,
305                 Read,
306                 Written,
307                 Copied,
308                 Closed,
309         }
310
311         public enum SecurityHeaderLayout
312         {
313                 Strict,
314                 Lax,
315                 LaxTimestampFirst,
316                 LaxTimestampLast,
317         }
318
319         public enum SupportedAddressingMode
320         {
321                 Anonymous,
322                 NonAnonymous,
323                 Mixed
324         }
325
326         public enum TransferSession
327         {
328                 None,
329                 Ordered,
330                 Unordered,
331         }
332
333 }
334
335 namespace System.ServiceModel.Description
336 {
337         public enum PrincipalPermissionMode
338         {
339                 None,
340                 UseWindowsGroups,
341                 UseAspNetRoles,
342                 Custom,
343         }
344
345         public enum MessageDirection
346         {
347                 Input,
348                 Output,
349         }
350
351         public enum ListenUriMode
352         {
353                 Explicit,
354                 Unique,
355         }
356
357         public enum MetadataExchangeClientMode
358         {
359                 MetadataExchange,
360                 HttpGet
361         }
362
363         [Flags]
364         public enum ServiceContractGenerationOptions
365         {
366                 None,
367                 AsynchronousMethods = 1,
368                 ChannelInterface = 2,
369                 InternalTypes = 4,
370                 ClientClass = 8,
371                 TypedMessages = 16,
372                 EventBasedAsynchronousMethods = 32,
373         }
374 }
375
376 namespace System.ServiceModel.MsmqIntegration
377 {
378         public enum MsmqIntegrationSecurityMode
379         {
380                 None,
381                 Transport,
382         }
383
384         public enum MsmqMessageSerializationFormat
385         {
386                 Xml,
387                 Binary,
388                 ActiveX,
389                 ByteArray,
390                 Stream,
391         }
392 }
393
394 namespace System.ServiceModel.Security
395 {
396         public enum UserNamePasswordValidationMode
397         {
398                 Windows,
399                 MembershipProvider,
400                 Custom,
401         }
402
403         public enum X509CertificateValidationMode
404         {
405                 None,
406                 PeerTrust,
407                 ChainTrust,
408                 PeerOrChainTrust,
409                 Custom,
410         }
411 }
412
413 namespace System.ServiceModel.Security.Tokens
414 {
415         public enum SecurityTokenInclusionMode
416         {
417                 AlwaysToRecipient,
418                 Never,
419                 Once,
420                 AlwaysToInitiator,
421         }
422
423         public enum X509KeyIdentifierClauseType
424         {
425                 Any,
426                 Thumbprint,
427                 IssuerSerial,
428                 SubjectKeyIdentifier,
429                 RawDataKeyIdentifier,
430         }
431 }