2 // System.Web.Management.WebBaseEvent.cs
5 // Duncan Mak (duncan@ximian.com)
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:
15 // The above copyright notice and this permission notice shall be
16 // included in all copies or substantial portions of the Software.
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)
31 namespace System
.Web
.Management
33 public class WebBaseEvent
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
{
56 throw new NotImplementedException ();
60 public int EventCode
{
66 public int EventDetailCode
{
68 return event_detail_code
;
74 throw new NotImplementedException ();
78 public long EventSequence
{
81 throw new NotImplementedException ();
85 public object EventSource
{
91 public DateTime EventTime
{
93 throw new NotImplementedException ();
97 public DateTime EventTimeUtc
{
99 throw new NotImplementedException ();
103 public string 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 ();