Partager via


SecurityContextToken.AnyElements Property

Gets a collection of XML elements.

Namespace: Microsoft.Web.Services3.Security.Tokens
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim securityContextToken1 As SecurityContextToken

Dim returnValue As ElementList
returnValue = securityContextToken1.AnyElements

Syntax

'Declaration
Public ReadOnly Property AnyElements() As ElementList
public ElementList AnyElements {get;}
public:
property ElementList^ AnyElements {
    ElementList^ get();
}
public ElementList get_AnyElements();
public function get AnyElements() : ElementList;

Property Value

An IList containing the collection of XML elements.

Remarks

Use the AnyElements and AnyAttributes properties to extend the functionality of a SecurityContextToken security token. A custom security token service that issues SecurityContextToken security tokens can add an XmlElement to the AnyElements collection that WSE will serialize into the issued security token. The target Web service can view the custom elements added by the security token service by getting the value of the AnyElements property.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

SecurityContextToken Class
SecurityContextToken Members
Microsoft.Web.Services3.Security.Tokens Namespace