11 [PermissionSet(
SecurityAction.InheritanceDemand, Unrestricted =
true)]
18 if (!GetType().IsSerializable)
26 [SecuritySafeCritical]
34 binaryFormatter.
Serialize(memoryStream,
this);
Describes a set of security permissions applied to code. This class cannot be inherited.
EvidenceBase()
Initializes a new instance of the T:System.Security.Policy.EvidenceBase class.
Provides a base class from which all objects to be used as evidence must derive.
SecurityAction
Specifies the security actions that can be performed using declarative security.
Provides information about, and means to manipulate, the current environment and platform....
Creates a stream whose backing store is memory.To browse the .NET Framework source code for this type...
Represents a collection that can contain many different types of permissions.
Specifies that the class can be serialized.
The exception that is thrown when a method call is invalid for the object's current state.
override long Position
Gets or sets the current position within the stream.
virtual EvidenceBase Clone()
Creates a new object that is a complete copy of the current instance.