Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ToXml Method
Collapse the table of content
Expand the table of content

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