mscorlib(4.0.0.0) API with additions
PolicyException.cs
1
using
System
.
Runtime
.
InteropServices
;
2
using
System
.
Runtime
.
Serialization
;
3
4
namespace
System.Security.Policy
5
{
7
[
Serializable
]
8
[ComVisible(
true
)]
9
public
class
PolicyException
:
SystemException
10
{
12
public
PolicyException
()
13
: base(
Environment
.GetResourceString(
"Policy_Default"
))
14
{
15
base.HResult = -2146233322;
16
}
17
20
public
PolicyException
(
string
message)
21
: base(message)
22
{
23
base.HResult = -2146233322;
24
}
25
29
public
PolicyException
(
string
message,
Exception
exception)
30
: base(message, exception)
31
{
32
base.HResult = -2146233322;
33
}
34
38
protected
PolicyException
(
SerializationInfo
info,
StreamingContext
context)
39
: base(info, context)
40
{
41
}
42
43
internal
PolicyException
(
string
message,
int
hresult)
44
: base(message)
45
{
46
base.HResult = hresult;
47
}
48
49
internal
PolicyException
(
string
message,
int
hresult,
Exception
exception)
50
: base(message, exception)
51
{
52
base.HResult = hresult;
53
}
54
}
55
}
System.SystemException
Serves as the base class for system exceptions namespace.
Definition:
SystemException.cs:9
System.Runtime.InteropServices
Definition:
_Activator.cs:1
System.Runtime
Definition:
AssemblyTargetedPatchBandAttribute.cs:1
System
Definition:
__Canon.cs:3
System.Runtime.Serialization.StreamingContext
Describes the source and destination of a given serialized stream, and provides an additional caller-...
Definition:
StreamingContext.cs:9
System.Security.Policy.PolicyException.PolicyException
PolicyException(string message)
Initializes a new instance of the T:System.Security.Policy.PolicyException class with a specified err...
Definition:
PolicyException.cs:20
System.Environment
Provides information about, and means to manipulate, the current environment and platform....
Definition:
Environment.cs:21
System.Security.Policy.PolicyException.PolicyException
PolicyException()
Initializes a new instance of the T:System.Security.Policy.PolicyException class with default propert...
Definition:
PolicyException.cs:12
System.Runtime.Serialization
Definition:
DeserializationEventHandler.cs:1
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.Reflection.TypeAttributes.Serializable
Specifies that the class can be serialized.
System.Security.Policy.PolicyException.PolicyException
PolicyException(string message, Exception exception)
Initializes a new instance of the T:System.Security.Policy.PolicyException class with a specified err...
Definition:
PolicyException.cs:29
System.Security.Policy
Definition:
AllMembershipCondition.cs:4
System.Security.Policy.PolicyException
The exception that is thrown when policy forbids code to run.
Definition:
PolicyException.cs:9
System.Security.Policy.PolicyException.PolicyException
PolicyException(SerializationInfo info, StreamingContext context)
Initializes a new instance of the T:System.Security.Policy.PolicyException class with serialized data...
Definition:
PolicyException.cs:38
All cs
System.Security.Policy
PolicyException.cs
Generated by
1.8.15