Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

View File

@ -0,0 +1,49 @@
2007-03-09 Marek Habersack <mhabersack@novell.com>
* WebEventCodes.cs: Implemented.
2006-02-28 Chris Toshok <toshok@ximian.com>
* SqlFeatures.cs: corcompare work
* IRegiisUtility.cs: same.
* WebEventFormatter.cs: same.
* RuleFiringRecord.cs: same.
* SessionStateType.cs: same.
* WebApplicationInformtion.cs: same.
* EventNotificationType.cs: same.
* WebBaseEvent.cs: same.
* IRegisterCreateITypeLib.cs: nuke
2004-08-02 Duncan Mak <duncan@ximian.com>
* RuleFiringRecord.cs:
* WebApplicationInformation:
* WebEventFormatter: Signature fixes, hide the constructor.
* IRegiisUtility.cs: Fixed name.
* EventNotificationType.cs:
* SessionStateType.cs:
* SqlFeatures.cs: Added missing attributes.
2004-08-02 Duncan Mak <duncan@ximian.com>
* EventNotificationType.cs:
* SessionStateType.cs:
* SqlFeatures.cs: Added enumerations.
* IRegissUtility.cs:
* IRegisterCreateITypeLib.cs: Added interfaces.
* RuleFiringRecord.cs:
* WebApplicationInformation.cs:
* WebBaseEvent.cs:
* WebEventFormatter.cs: Stubbed out classes.

View File

@ -0,0 +1,42 @@
//
// System.Web.Management.EventNotificationType.cs
//
// Authors:
// Duncan Mak (duncan@ximian.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
using System;
#if NET_2_0
namespace System.Web.Management
{
public enum EventNotificationType
{
Regular = 0,
Urgent = 1,
Flush = 2,
Unbuffered = 3
}
}
#endif

View File

@ -0,0 +1,63 @@
//
// System.Web.Management.IRegiisUtility.cs
//
// Authors:
// Duncan Mak (duncan@ximian.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
using System;
using System.Runtime.InteropServices;
#if NET_2_0
namespace System.Web.Management
{
[InterfaceTypeAttribute (ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute ("C84F668A-CC3F-11D7-B79E-505054503030")]
[ComImportAttribute]
public interface IRegiisUtility
{
void ProtectedConfigAction (
long actionToPerform,
[In,MarshalAs(UnmanagedType.LPWStr)] string firstArgument,
[In,MarshalAs(UnmanagedType.LPWStr)] string secondArgument,
[In,MarshalAs(UnmanagedType.LPWStr)] string providerName,
[In,MarshalAs(UnmanagedType.LPWStr)] string appPath,
[In,MarshalAs(UnmanagedType.LPWStr)] string site,
[In,MarshalAs(UnmanagedType.LPWStr)] string cspOrLocation,
int keySize,
out IntPtr exception);
void RegisterAsnetMmcAssembly (
int doReg,
[In,MarshalAs(UnmanagedType.LPWStr)] string assemblyName,
[In,MarshalAs(UnmanagedType.LPWStr)] string binaryDirectory,
out IntPtr exception);
void RegisterSystemWebAssembly (int doReg,
out IntPtr exception);
void RemoveBrowserCaps (out IntPtr exception);
}
}
#endif

View File

@ -0,0 +1,40 @@
//
// System.Web.Management.IWebEventCustomEvaluator.cs
//
// Authors:
// Duncan Mak (duncan@ximian.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
using System;
using System.Runtime.InteropServices;
#if NET_2_0
namespace System.Web.Management
{
public interface IWebEventCustomEvaluator
{
bool CanFire (WebBaseEvent raised_event, RuleFiringRecord record);
}
}
#endif

View File

@ -0,0 +1,54 @@
//
// System.Web.Management.RuleFiringRecord.cs
//
// Authors:
// Duncan Mak (duncan@ximian.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
#if NET_2_0
using System;
using System.Web;
namespace System.Web.Management
{
public sealed class RuleFiringRecord
{
internal RuleFiringRecord ()
{
}
public DateTime LastFired {
get {
throw new NotImplementedException ();
}
}
public int TimesRaised {
get {
throw new NotImplementedException ();
}
}
}
}
#endif

View File

@ -0,0 +1,39 @@
//
// System.Web.Management.SessionStateType.cs
//
// Authors:
// Duncan Mak (duncan@ximian.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
#if NET_2_0
namespace System.Web.Management
{
public enum SessionStateType
{
Temporary = 0,
Persisted = 1,
Custom = 2,
}
}
#endif

View File

@ -0,0 +1,44 @@
//
// System.Web.Management.SqlFeatures.cs
//
// Authors:
// Duncan Mak (duncan@ximian.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
#if NET_2_0
namespace System.Web.Management
{
[Flags]
public enum SqlFeatures
{
None = 0,
Membership = 1,
Profile = 2,
RoleManager = 4,
Personalization = 8,
SqlWebEventProvider = 16,
All = 1073741855
}
}
#endif

View File

@ -0,0 +1,86 @@
//
// System.Web.Management.WebApplicationInformation.cs
//
// Authors:
// Duncan Mak (duncan@ximian.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
#if NET_2_0
using System;
using System.Web;
namespace System.Web.Management
{
public sealed class WebApplicationInformation
{
#pragma warning disable 0649
string application_domain, application_path, application_virtual_path, machine_name, trust_level;
#pragma warning restore 0649
internal WebApplicationInformation ()
{
}
public string ApplicationDomain {
get {
return application_domain;
}
}
public string ApplicationPath {
get {
return application_path;
}
}
public string ApplicationVirtualPath {
get {
return application_virtual_path;
}
}
public string MachineName {
get {
return machine_name;
}
}
public string TrustLevel {
get {
return trust_level;
}
}
public void FormatToString (WebEventFormatter formatter)
{
throw new NotImplementedException ();
}
public override string ToString ()
{
throw new NotImplementedException ();
}
}
}
#endif

View File

@ -0,0 +1,136 @@
//
// System.Web.Management.WebBaseEvent.cs
//
// Authors:
// Duncan Mak (duncan@ximian.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
#if NET_2_0
using System;
namespace System.Web.Management
{
public class WebBaseEvent
{
string message;
object event_source;
int event_code, event_detail_code;
protected WebBaseEvent (string message, object event_source, int event_code)
{
this.message = message;
this.event_source = event_source;
this.event_code = event_code;
}
protected WebBaseEvent (string message, object event_source, int event_code, int event_detail_code)
{
this.message = message;
this.event_source = event_source;
this.event_code = event_code;
this.event_detail_code = event_detail_code;
}
public static WebApplicationInformation ApplicationInformation {
get {
throw new NotImplementedException ();
}
}
public int EventCode {
get {
return event_code;
}
}
public int EventDetailCode {
get {
return event_detail_code;
}
}
public Guid EventID {
get {
throw new NotImplementedException ();
}
}
public long EventSequence {
get {
throw new NotImplementedException ();
}
}
public object EventSource {
get {
return event_source;
}
}
public DateTime EventTime {
get {
throw new NotImplementedException ();
}
}
public DateTime EventTimeUtc {
get {
throw new NotImplementedException ();
}
}
public string Message {
get {
return message;
}
}
public virtual void FormatCustomEventDetails (WebEventFormatter formatter)
{
throw new NotImplementedException ();
}
public virtual void Raise ()
{
throw new NotImplementedException ();
}
public static void Raise (WebBaseEvent event_raised)
{
throw new NotImplementedException ();
}
public override string ToString ()
{
throw new NotImplementedException ();
}
public virtual string ToString (bool include_app_info, bool include_custom_event_details)
{
throw new NotImplementedException ();
}
}
}
#endif

View File

@ -0,0 +1,110 @@
//
// System.Web.Management.WebEventFormatter.cs
//
// Authors:
// Marek Habersack <mhabersack@novell.com>
//
// Copyright (C) 2007 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
//
#if NET_2_0
namespace System.Web.Management
{
public sealed class WebEventCodes
{
public const int InvalidEventCode = -1;
public const int UndefinedEventCode = 0;
public const int UndefinedEventDetailCode = 0;
public const int ApplicationCodeBase = 0x003E8;
public const int ApplicationStart = ApplicationCodeBase + 0x01;
public const int ApplicationShutdown = ApplicationCodeBase + 0x02;
public const int ApplicationCompilationStart = ApplicationCodeBase + 0x03;
public const int ApplicationCompilationEnd = ApplicationCodeBase + 0x04;
public const int ApplicationHeartbeat = ApplicationCodeBase + 0x05;
public const int RequestCodeBase = 0x007D0;
public const int RequestTransactionComplete = RequestCodeBase + 0x01;
public const int RequestTransactionAbort = RequestCodeBase + 0x02;
public const int ErrorCodeBase = 0x00BB8;
public const int RuntimeErrorRequestAbort = ErrorCodeBase + 0x01;
public const int RuntimeErrorViewStateFailure = ErrorCodeBase + 0x02;
public const int RuntimeErrorValidationFailure = ErrorCodeBase + 0x03;
public const int RuntimeErrorPostTooLarge = ErrorCodeBase + 0x04;
public const int RuntimeErrorUnhandledException = ErrorCodeBase + 0x05;
public const int WebErrorParserError = ErrorCodeBase + 0x06;
public const int WebErrorCompilationError = ErrorCodeBase + 0x07;
public const int WebErrorConfigurationError = ErrorCodeBase + 0x08;
public const int WebErrorOtherError = ErrorCodeBase + 0x09;
public const int WebErrorPropertyDeserializationError = ErrorCodeBase + 0x0A;
public const int WebErrorObjectStateFormatterDeserializationError = ErrorCodeBase + 0x0B;
public const int AuditCodeBase = 0x00FA0;
public const int AuditFormsAuthenticationSuccess = AuditCodeBase + 0x01;
public const int AuditMembershipAuthenticationSuccess = AuditCodeBase + 0x02;
public const int AuditUrlAuthorizationSuccess = AuditCodeBase + 0x03;
public const int AuditFileAuthorizationSuccess = AuditCodeBase + 0x04;
public const int AuditFormsAuthenticationFailure = AuditCodeBase + 0x05;
public const int AuditMembershipAuthenticationFailure = AuditCodeBase + 0x06;
public const int AuditUrlAuthorizationFailure = AuditCodeBase + 0x07;
public const int AuditFileAuthorizationFailure = AuditCodeBase + 0x08;
public const int AuditInvalidViewStateFailure = AuditCodeBase + 0x09;
public const int AuditUnhandledSecurityException = AuditCodeBase + 0x0A;
public const int AuditUnhandledAccessException = AuditCodeBase + 0x0B;
public const int MiscCodeBase = 0x01770;
public const int WebEventProviderInformation = MiscCodeBase + 0x01;
public const int ApplicationDetailCodeBase = 0x0C350;
public const int ApplicationShutdownUnknown = ApplicationDetailCodeBase + 0x01;
public const int ApplicationShutdownHostingEnvironment = ApplicationDetailCodeBase + 0x02;
public const int ApplicationShutdownChangeInGlobalAsax = ApplicationDetailCodeBase + 0x03;
public const int ApplicationShutdownConfigurationChange = ApplicationDetailCodeBase + 0x04;
public const int ApplicationShutdownUnloadAppDomainCalled = ApplicationDetailCodeBase + 0x05;
public const int ApplicationShutdownChangeInSecurityPolicyFile = ApplicationDetailCodeBase + 0x06;
public const int ApplicationShutdownBinDirChangeOrDirectoryRename = ApplicationDetailCodeBase + 0x07;
public const int ApplicationShutdownBrowsersDirChangeOrDirectoryRename = ApplicationDetailCodeBase + 0x08;
public const int ApplicationShutdownCodeDirChangeOrDirectoryRename = ApplicationDetailCodeBase + 0x09;
public const int ApplicationShutdownResourcesDirChangeOrDirectoryRename = ApplicationDetailCodeBase + 0x0A;
public const int ApplicationShutdownIdleTimeout = ApplicationDetailCodeBase + 0x0B;
public const int ApplicationShutdownPhysicalApplicationPathChanged = ApplicationDetailCodeBase + 0x0C;
public const int ApplicationShutdownHttpRuntimeClose = ApplicationDetailCodeBase + 0x0D;
public const int ApplicationShutdownInitializationError = ApplicationDetailCodeBase + 0x0E;
public const int ApplicationShutdownMaxRecompilationsReached = ApplicationDetailCodeBase + 0x0F;
public const int StateServerConnectionError = ApplicationDetailCodeBase + 0x10;
public const int AuditDetailCodeBase = 0x0C418;
public const int InvalidTicketFailure = AuditDetailCodeBase + 0x01;
public const int ExpiredTicketFailure = AuditDetailCodeBase + 0x02;
public const int InvalidViewStateMac = AuditDetailCodeBase + 0x03;
public const int InvalidViewState = AuditDetailCodeBase + 0x04;
public const int WebEventDetailCodeBase = 0x0C47C;
public const int SqlProviderEventsDropped = WebEventDetailCodeBase + 0x01;
public const int WebExtendedBase = 0x186A0;
}
}
#endif

View File

@ -0,0 +1,67 @@
//
// System.Web.Management.WebEventFormatter.cs
//
// Authors:
// Duncan Mak (duncan@ximian.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
#if NET_2_0
namespace System.Web.Management
{
public class WebEventFormatter
{
int indentation_level, tab_size;
internal WebEventFormatter ()
{
}
public int IndentationLevel {
get { return indentation_level; }
set { indentation_level = value; }
}
public int TabSize {
get { return tab_size; }
set { tab_size = value; }
}
public void AppendLine (string s)
{
throw new NotImplementedException ();
}
public new string ToString ()
{
throw new NotImplementedException ();
}
}
}
#endif