ISecurityEncodable Interface


Defines the methods that convert permission object state to and from XML element representation.

Namespace:   System.Security
Assembly:  mscorlib (in mscorlib.dll)

type ISecurityEncodable = interface end


Reconstructs a security object with a specified state from an XML encoding.


Creates an XML encoding of the security object and its current state.

The XML representation of permissions is used to describe instances of permissions for code requests, declarative security permission sets, and security policy configuration.


You must implement this interface for any new permission object.

This example shows how to define a permission class for use with code access security. All of the necessary permission interfaces are implemented.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top