AspNetHostingPermission.ToXml Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Web
Assembly:  System (in System.dll)

public override SecurityElement ToXml()

Return Value

Type: System.Security.SecurityElement

A SecurityElement containing the XML encoding of the permission object, including any state information.

.NET Framework
Available since 1.1
Return to top