Export (0) Print
Expand All

ZoneMembershipCondition.ToXml Method

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

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

public SecurityElement ToXml()

Return Value

Type: System.Security.SecurityElement
An XML encoding of the security object, including any state information.

Implements

ISecurityEncodable.ToXml()

ExceptionCondition
ArgumentNullException

The SecurityZone property is null.

ArgumentException

The SecurityZone property is not a valid SecurityZone.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft