Imported Upstream version 4.0.0~alpha1

Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
Jo Shields
2015-04-07 09:35:12 +01:00
parent 283343f570
commit 3c1f479b9d
22469 changed files with 2931443 additions and 869343 deletions

View File

@@ -0,0 +1,88 @@
using System;
using System.Collections;
using System.Text;
using System.Runtime.Serialization;
namespace System.Management.Instrumentation
{
#region Instrumentation exceptions
[Serializable]
[System.Security.Permissions.HostProtection(MayLeakOnAbort = true)]
public class InstrumentationBaseException : Exception
{
public InstrumentationBaseException()
: base()
{
}
public InstrumentationBaseException(string message)
: base(message)
{
}
public InstrumentationBaseException(string message, Exception innerException)
: base(message, innerException)
{
}
protected InstrumentationBaseException(SerializationInfo info, StreamingContext context)
:base (info, context)
{
}
}
[Serializable]
[System.Security.Permissions.HostProtection(MayLeakOnAbort = true)]
public class InstrumentationException:InstrumentationBaseException
{
public InstrumentationException()
: base()
{
}
public InstrumentationException(string message)
: base(message)
{
}
public InstrumentationException(Exception innerException)
: base(null, innerException)
{
}
public InstrumentationException(string message, Exception innerException)
: base(message, innerException)
{
}
protected InstrumentationException(SerializationInfo info, StreamingContext context)
:base (info, context)
{
}
}
[Serializable]
[System.Security.Permissions.HostProtection(MayLeakOnAbort = true)]
public class InstanceNotFoundException : InstrumentationException
{
public InstanceNotFoundException()
: base()
{
}
public InstanceNotFoundException(string message)
: base(message)
{
}
public InstanceNotFoundException(string message, Exception innerException)
: base(message, innerException)
{
}
protected InstanceNotFoundException(SerializationInfo info, StreamingContext context)
:base (info, context)
{
}
}
#endregion
}

File diff suppressed because it is too large Load Diff