This documentation is archived and is not being maintained.

CardSpacePolicyElement Constructor

Initializes a new instance of the CardSpacePolicyElement class using the specified target and issuer of the policy, the policy parameters, privacy notice location, and the privacy notice version.

Namespace:  System.IdentityModel.Selectors
Assembly:  System.IdentityModel.Selectors (in System.IdentityModel.Selectors.dll)

public CardSpacePolicyElement(
	XmlElement target,
	XmlElement issuer,
	Collection<XmlElement> parameters,
	Uri privacyNoticeLink,
	int privacyNoticeVersion,
	bool isManagedIssuer


Type: System.Xml.XmlElement

An XmlElement that represents the target of this policy.

Sets the Target property.

Type: System.Xml.XmlElement

An XmlElement that represents the policy issuer. Sets the Issuer property.

Type: System.Collections.ObjectModel.Collection<XmlElement>

A Collection<T> of type XmlElement that represents the parameters for this element. Sets the Parameters property.

Type: System.Uri

The Uri where the privacy policy is located. Sets the PolicyNoticeLink property.

Type: System.Int32

The version of the privacy information. Sets the PolicyNoticeVersion property.

Type: System.Boolean

true if the issuer is managed; otherwise false. Sets the IsManagedIssuer property.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0