mscorlib(4.0.0.0) API with additions
ApplicationException.cs
1
using
System
.
Runtime
.
InteropServices
;
2
using
System
.
Runtime
.
Serialization
;
3
4
namespace
System
5
{
7
[
Serializable
]
8
[ComVisible(
true
)]
9
public
class
ApplicationException
:
Exception
10
{
12
public
ApplicationException
()
13
: base(
Environment
.GetResourceString(
"Arg_ApplicationException"
))
14
{
15
SetErrorCode(-2146232832);
16
}
17
20
public
ApplicationException
(
string
message)
21
: base(message)
22
{
23
SetErrorCode(-2146232832);
24
}
25
29
public
ApplicationException
(
string
message,
Exception
innerException)
30
: base(message, innerException)
31
{
32
SetErrorCode(-2146232832);
33
}
34
38
protected
ApplicationException
(
SerializationInfo
info,
StreamingContext
context)
39
: base(info, context)
40
{
41
}
42
}
43
}
System.Runtime.InteropServices
Definition:
_Activator.cs:1
System.Runtime
Definition:
AssemblyTargetedPatchBandAttribute.cs:1
System
Definition:
__Canon.cs:3
System.ApplicationException
Serves as the base class for application-defined exceptions.
Definition:
ApplicationException.cs:9
System.Runtime.Serialization.StreamingContext
Describes the source and destination of a given serialized stream, and provides an additional caller-...
Definition:
StreamingContext.cs:9
System.ApplicationException.ApplicationException
ApplicationException(string message)
Initializes a new instance of the T:System.ApplicationException class with a specified error message.
Definition:
ApplicationException.cs:20
System.Environment
Provides information about, and means to manipulate, the current environment and platform....
Definition:
Environment.cs:21
System.Runtime.Serialization
Definition:
DeserializationEventHandler.cs:1
System.ApplicationException.ApplicationException
ApplicationException(SerializationInfo info, StreamingContext context)
Initializes a new instance of the T:System.ApplicationException class with serialized data.
Definition:
ApplicationException.cs:38
System.Runtime.Serialization.SerializationInfo
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
Definition:
SerializationInfo.cs:12
System.Exception
Represents errors that occur during application execution.To browse the .NET Framework source code fo...
Definition:
Exception.cs:22
System.ApplicationException.ApplicationException
ApplicationException(string message, Exception innerException)
Initializes a new instance of the T:System.ApplicationException class with a specified error message ...
Definition:
ApplicationException.cs:29
System.Reflection.TypeAttributes.Serializable
Specifies that the class can be serialized.
System.ApplicationException.ApplicationException
ApplicationException()
Initializes a new instance of the T:System.ApplicationException class.
Definition:
ApplicationException.cs:12
All cs
System
ApplicationException.cs
Generated by
1.8.15