2 // System.Web.Hosting.HostingEnvironment.cs
5 // Chris Toshok (toshok@ximian.com)
9 // Copyright (C) 2005 Novell, Inc (http://www.novell.com)
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:
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
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.
34 using System.Web.Caching;
36 namespace System.Web.Hosting {
38 public sealed class HostingEnvironment : MarshalByRefObject
41 public HostingEnvironment ()
46 public static string ApplicationID {
47 get { throw new NotImplementedException (); }
51 public static string ApplicationPhysicalPath {
52 get { throw new NotImplementedException (); }
56 public static string ApplicationVirtualPath {
57 get { throw new NotImplementedException (); }
61 public static Cache Cache {
62 get { throw new NotImplementedException (); }
66 public static Exception InitializationException {
67 get { throw new NotImplementedException (); }
71 public static bool IsHosted {
72 get { throw new NotImplementedException (); }
76 public static ApplicationShutdownReason ShutdownReason {
77 get { throw new NotImplementedException (); }
81 public static string SiteName {
82 get { throw new NotImplementedException (); }
87 public static VirtualPathProvider VirtualPathProvider {
88 get { throw new NotImplementedException (); }
93 public static void DecrementBusyCount ()
95 throw new NotImplementedException ();
99 public static IDisposable Impersonate ()
101 throw new NotImplementedException ();
105 public static IDisposable Impersonate (IntPtr token)
107 throw new NotImplementedException ();
111 public static IDisposable Impersonate (IntPtr userToken, string virtualPath)
113 throw new NotImplementedException ();
117 public static void IncrementBusyCount ()
119 throw new NotImplementedException ();
123 public override object InitializeLifetimeService ()
125 throw new NotImplementedException ();
129 public static void InitiateShutdown ()
131 throw new NotImplementedException ();
135 public static string MapPath (string virtualPath)
137 throw new NotImplementedException ();
141 public static void RegisterObject (IRegisteredObject obj)
143 throw new NotImplementedException ();
148 public static void RegisterVirtualPathProvider (VirtualPathProvider virtualPathProvider)
150 throw new NotImplementedException ();
155 public static IDisposable SetCultures (string virtualPath)
157 throw new NotImplementedException ();
161 public static IDisposable SetCultures ()
163 throw new NotImplementedException ();
167 public static void UnregisterObject (IRegisteredObject obj)
169 throw new NotImplementedException ();