2008-11-01 Marek Habersack <mhabersack@novell.com>
[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 AuditLevel
41         {
42                 None,
43                 Success,
44                 Failure,
45                 SuccessOrFailure,
46         }
47
48         public enum AuditLogLocation
49         {
50                 Default,
51                 Application,
52                 Security,
53         }
54
55         public enum BasicHttpMessageCredentialType
56         {
57                 UserName,
58                 Certificate,
59         }
60
61         public enum BasicHttpSecurityMode
62         {
63                 None,
64                 Transport,
65                 Message,
66                 TransportWithMessageCredential,
67                 TransportCredentialOnly,
68         }
69
70         public enum CommunicationState
71         {
72                 Created,
73                 Opening,
74                 Opened,
75                 Closing,
76                 Closed,
77                 Faulted,
78         }
79
80         public enum ConcurrencyMode
81         {
82                 Single,
83                 Reentrant,
84                 Multiple,
85         }
86
87         public enum HostNameComparisonMode
88         {
89                 StrongWildcard,
90                 Exact,
91                 WeakWildcard,
92         }
93
94         public enum ImpersonationOption
95         {
96                 NotAllowed,
97                 Allowed,
98                 Required,
99         }
100
101         public enum InstanceContextMode
102         {
103                 PerSession,
104                 PerCall,
105                 Single,
106         }
107
108         public enum NetMsmqSecurityMode
109         {
110                 None,
111                 Transport,
112                 Message,
113                 Both,
114         }
115
116         public enum NetNamedPipeSecurityMode
117         {
118                 None,
119                 Transport,
120         }
121
122         public enum OperationFormatStyle
123         {
124                 Document,
125                 Rpc,
126         }
127
128         public enum OperationFormatUse
129         {
130                 Literal,
131                 Encoded,
132         }
133
134         public enum PeerMessageOrigination
135         {
136                 Local,
137                 Remote,
138         }
139
140         public enum PeerMessagePropagation
141         {
142                 None,
143                 Local,
144                 Remote,
145                 LocalAndRemote,
146         }
147
148         public enum QueuedDeliveryRequirementsMode
149         {
150                 Allowed,
151                 Required,
152                 NotAllowed,
153         }
154
155         public enum PeerTransportCredentialType
156         {
157                 Password,
158                 Certificate,
159         }
160
161         public enum ReceiveErrorHandling
162         {
163                 Fault,
164                 Drop,
165                 Reject,
166                 Move,
167         }
168
169         public enum ReleaseInstanceMode
170         {
171                 None,
172                 BeforeCall,
173                 AfterCall,
174                 BeforeAndAfterCall,
175         }
176
177         public enum SessionMode
178         {
179                 Allowed,
180                 Required,
181                 NotAllowed,
182         }
183
184         public enum TransactionFlowOption
185         {
186                 NotAllowed,
187                 Allowed,
188                 Mandatory,
189         }
190
191         public enum WSDualHttpSecurityMode
192         {
193                 None,
194                 Message,
195         }
196
197         public enum WSFederationHttpSecurityMode
198         {
199                 None,
200                 Message,
201                 TransportWithMessageCredential,
202         }
203
204         public enum WSMessageEncoding
205         {
206                 Text,
207                 Mtom,
208         }
209
210 }
211
212 namespace System.ServiceModel // used to be S.SM.Ch
213 {
214         public enum DeadLetterQueue
215         {
216                 None,
217                 System,
218                 Custom,
219         }
220
221         public enum HttpClientCredentialType
222         {
223                 None,
224                 Basic,
225                 Digest,
226                 Ntlm,
227                 Windows,
228                 Certificate,
229         }
230
231         public enum HttpProxyCredentialType
232         {
233                 None,
234                 Basic,
235                 Digest,
236                 Ntlm,
237                 Windows,
238         }
239
240         public enum MessageCredentialType
241         {
242                 None,
243                 Windows,
244                 UserName,
245                 Certificate,
246                 IssuedToken,
247         }
248
249         public enum MsmqAuthenticationMode
250         {
251                 None,
252                 WindowsDomain,
253                 Certificate,
254         }
255
256         public enum MsmqEncryptionAlgorithm
257         {
258                 RC4Stream,
259                 Aes,
260         }
261
262         public enum MsmqSecureHashAlgorithm
263         {
264                 MD5,
265                 Sha1,
266                 Sha256,
267                 Sha512,
268         }
269
270         public enum QueueTransferProtocol
271         {
272                 Native,
273                 Srmp,
274                 SrmpSecure,
275         }
276
277         public enum SecurityMode
278         {
279                 None,
280                 Transport,
281                 Message,
282                 TransportWithMessageCredential,
283         }
284
285         public enum TcpClientCredentialType
286         {
287                 None,
288                 Windows,
289                 Certificate,
290         }
291 }
292
293 namespace System.ServiceModel.Channels
294 {
295         public enum MessageState
296         {
297                 Created,
298                 Read,
299                 Written,
300                 Copied,
301                 Closed,
302         }
303
304         public enum SecurityHeaderLayout
305         {
306                 Strict,
307                 Lax,
308                 LaxTimestampFirst,
309                 LaxTimestampLast,
310         }
311
312         public enum TransferSession
313         {
314                 None,
315                 Ordered,
316                 Unordered,
317         }
318
319 }
320
321 namespace System.ServiceModel.Description
322 {
323         public enum PrincipalPermissionMode
324         {
325                 None,
326                 UseWindowsGroups,
327                 UseAspNetRoles,
328                 Custom,
329         }
330
331         public enum MessageDirection
332         {
333                 Input,
334                 Output,
335         }
336
337         public enum ListenUriMode
338         {
339                 Explicit,
340                 Unique,
341         }
342
343         public enum MetadataExchangeClientMode
344         {
345                 MetadataExchange,
346                 HttpGet
347         }
348
349         [Flags]
350         public enum ServiceContractGenerationOptions
351         {
352                 None,
353                 AsynchronousMethods = 1,
354                 ChannelInterface = 2,
355                 InternalTypes = 4,
356                 ClientClass = 8,
357                 TypedMessages = 16,
358         }
359 }
360
361 namespace System.ServiceModel.MsmqIntegration
362 {
363         public enum MsmqIntegrationSecurityMode
364         {
365                 None,
366                 Transport,
367         }
368
369         public enum MsmqMessageSerializationFormat
370         {
371                 Xml,
372                 Binary,
373                 ActiveX,
374                 ByteArray,
375                 Stream,
376         }
377 }
378
379 namespace System.ServiceModel.Security
380 {
381         public enum UserNamePasswordValidationMode
382         {
383                 Windows,
384                 MembershipProvider,
385                 Custom,
386         }
387
388         public enum X509CertificateValidationMode
389         {
390                 None,
391                 PeerTrust,
392                 ChainTrust,
393                 PeerOrChainTrust,
394                 Custom,
395         }
396 }
397
398 namespace System.ServiceModel.Security.Tokens
399 {
400         public enum SecurityTokenInclusionMode
401         {
402                 AlwaysToRecipient,
403                 Never,
404                 Once,
405                 AlwaysToInitiator,
406         }
407
408         public enum X509KeyIdentifierClauseType
409         {
410                 Any,
411                 Thumbprint,
412                 IssuerSerial,
413                 SubjectKeyIdentifier,
414                 RawDataKeyIdentifier,
415         }
416 }