ISecurityEncodable Interface

 

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

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

[<ComVisibleAttribute(true)>]
type ISecurityEncodable = interface end

NameDescription
System_CAPS_pubmethodFromXml(SecurityElement)

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

System_CAPS_pubmethodToXml()

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.

System_CAPS_noteNote

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
Show: