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
)

Parameters

target
Type: System.Xml.XmlElement

An XmlElement that represents the target of this policy.

Sets the Target property.

issuer
Type: System.Xml.XmlElement

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

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

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

privacyNoticeLink
Type: System.Uri

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

privacyNoticeVersion
Type: System.Int32

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

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