update readme (#21797)
[mono-project.git] / mcs / class / System.Web / System.Web.Management / WebBaseEvent.cs
blobef2adb8bda950d4cc5cf54949b74c0d593aeb81a
1 //
2 // System.Web.Management.WebBaseEvent.cs
3 //
4 // Authors:
5 // Duncan Mak (duncan@ximian.com)
6 //
7 // Permission is hereby granted, free of charge, to any person obtaining
8 // a copy of this software and associated documentation files (the
9 // "Software"), to deal in the Software without restriction, including
10 // without limitation the rights to use, copy, modify, merge, publish,
11 // distribute, sublicense, and/or sell copies of the Software, and to
12 // permit persons to whom the Software is furnished to do so, subject to
13 // the following conditions:
14 //
15 // The above copyright notice and this permission notice shall be
16 // included in all copies or substantial portions of the Software.
17 //
18 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
29 using System;
31 namespace System.Web.Management
33 public class WebBaseEvent
35 string message;
36 object event_source;
37 int event_code, event_detail_code;
39 protected WebBaseEvent (string message, object eventSource, int eventCode)
41 this.message = message;
42 this.event_source = eventSource;
43 this.event_code = eventCode;
46 protected WebBaseEvent (string message, object eventSource, int eventCode, int eventDetailCode)
48 this.message = message;
49 this.event_source = eventSource;
50 this.event_code = eventCode;
51 this.event_detail_code = eventDetailCode;
54 public static WebApplicationInformation ApplicationInformation {
55 get {
56 throw new NotImplementedException ();
60 public int EventCode {
61 get {
62 return event_code;
66 public int EventDetailCode {
67 get {
68 return event_detail_code;
72 public Guid EventID {
73 get {
74 throw new NotImplementedException ();
78 public long EventSequence {
79 get {
81 throw new NotImplementedException ();
85 public object EventSource {
86 get {
87 return event_source;
91 public DateTime EventTime {
92 get {
93 throw new NotImplementedException ();
97 public DateTime EventTimeUtc {
98 get {
99 throw new NotImplementedException ();
103 public string Message {
104 get {
105 return message;
109 public virtual void FormatCustomEventDetails (WebEventFormatter formatter)
111 throw new NotImplementedException ();
114 public virtual void Raise ()
116 throw new NotImplementedException ();
119 public static void Raise (WebBaseEvent eventRaised)
121 throw new NotImplementedException ();
124 public override string ToString ()
126 throw new NotImplementedException ();
129 public virtual string ToString (bool includeAppInfo, bool includeCustomEventDetails)
131 throw new NotImplementedException ();