This commit was manufactured by cvs2svn to create branch 'mono-1-0'.
[mono.git] / mcs / class / System.EnterpriseServices / System.EnterpriseServices / ContextUtil.cs
1 // \r
2 // System.EnterpriseServices.ContextUtil.cs\r
3 //\r
4 // Author:\r
5 //   Tim Coleman (tim@timcoleman.com)\r
6 //\r
7 // Copyright (C) Tim Coleman, 2002\r
8 //\r
9
10 //
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.
29 //
30 \r
31 using System;\r
32 \r
33 namespace System.EnterpriseServices {\r
34         public sealed class ContextUtil {\r
35 \r
36                 #region Fields\r
37 \r
38                 static bool deactivateOnReturn;\r
39                 static TransactionVote myTransactionVote;\r
40 \r
41                 #endregion // Fields\r
42 \r
43                 #region Constructors\r
44 \r
45                 internal ContextUtil ()\r
46                 {\r
47                 }\r
48 \r
49                 #endregion // Constructors\r
50 \r
51                 #region Properties\r
52 \r
53                 public static Guid ActivityId {\r
54                         [MonoTODO]\r
55                         get { throw new NotImplementedException (); }\r
56                 }\r
57                 \r
58                 public static Guid ApplicationId {\r
59                         [MonoTODO]\r
60                         get { throw new NotImplementedException (); }\r
61                 }\r
62 \r
63                 public static Guid ApplicationInstanceId {\r
64                         [MonoTODO]\r
65                         get { throw new NotImplementedException (); }\r
66                 }\r
67 \r
68                 public static Guid ContextId {\r
69                         [MonoTODO]\r
70                         get { throw new NotImplementedException (); }\r
71                 }\r
72 \r
73                 public static bool DeactivateOnReturn {\r
74                         get { return deactivateOnReturn; }\r
75                         set { deactivateOnReturn = value; }\r
76                 }\r
77 \r
78                 public static bool IsInTransaction {\r
79                         [MonoTODO]\r
80                         get { throw new NotImplementedException (); }\r
81                 }\r
82 \r
83                 public static bool IsSecurityEnabled {\r
84                         [MonoTODO]\r
85                         get { throw new NotImplementedException (); }\r
86                 }\r
87                 \r
88                 [MonoTODO]\r
89                 public static TransactionVote MyTransactionVote {\r
90                         get { return myTransactionVote; }\r
91                         set { myTransactionVote = value; }\r
92                 }\r
93 \r
94                 public static Guid PartitionId {\r
95                         [MonoTODO]\r
96                         get { throw new NotImplementedException (); }\r
97                 }\r
98 \r
99                 public static object Transaction {\r
100                         [MonoTODO]\r
101                         get { throw new NotImplementedException (); }\r
102                 }\r
103 \r
104                 public static Guid TransactionId {\r
105                         [MonoTODO]\r
106                         get { throw new NotImplementedException (); }\r
107                 }\r
108 \r
109                 #endregion // Properties\r
110 \r
111                 #region Methods\r
112 \r
113                 [MonoTODO]\r
114                 public static void DisableCommit ()\r
115                 {\r
116                         throw new NotImplementedException ();\r
117                 }\r
118 \r
119                 [MonoTODO]\r
120                 public static void EnableCommit ()\r
121                 {\r
122                         throw new NotImplementedException ();\r
123                 }\r
124 \r
125                 [MonoTODO]\r
126                 public static object GetNamedProperty (string name)\r
127                 {\r
128                         throw new NotImplementedException ();\r
129                 }\r
130 \r
131                 [MonoTODO]\r
132                 public static bool IsCallerInRole (string role)\r
133                 {\r
134                         throw new NotImplementedException ();\r
135                 }\r
136 \r
137                 [MonoTODO]\r
138                 public static void SetAbort ()\r
139                 {\r
140                         throw new NotImplementedException ();\r
141                 }\r
142 \r
143                 [MonoTODO]\r
144                 public static void SetComplete ()\r
145                 {\r
146                         throw new NotImplementedException ();\r
147                 }\r
148 \r
149                 #endregion // Methods\r
150         }\r
151 }\r