Share via


SecurityTokenCollection Members

Represents a strongly-typed collection of SecurityToken objects.

The following tables list the members exposed by the SecurityTokenCollection type.

Public Constructors

  Name Description
SecurityTokenCollection Initializes an empty SecurityTokenCollection.

Top

Public Properties

  Name Description
public property Count Gets the number of security tokens in a SecurityTokenCollection .
public property IsSynchronized Gets a value indicating whether access to SecurityTokenCollection is synchronized (thread-safe).
public property Item Gets the SecurityToken corresponding to the specified id.
public property SyncRoot Gets an object that can be used to synchonize access to the SecurityTokenCollection.

Top

Public Methods

(see also Protected Methods )

  Name Description
public method Add Adds a security token to the collection.
public method AddRange Adds a collection of SecurityToken objects to the current SecurityTokenCollection .
public method Clear Removes all the SecurityToken objects from the current SecurityTokenCollection .
public method Contains Checks if a security token exists in a SecurityTokenCollection.
public method CopyTo Copies the elements of a SecurityTokenCollection to an array of type SecurityToken at the specified index.
public method Equals  (inherited from Object )
public method GetEnumerator Gets an System.Collections.IEnumerator that can iterate through the SecurityTokenCollection .
public method GetHashCode  (inherited from Object )
public method GetType  (inherited from Object )
public method Remove Removes the specific SecurityToken from a SecurityTokenCollection .
public method ToString  (inherited from Object )

Top

Protected Methods

  Name Description
protected method Finalize  (inherited from Object )
protected method MemberwiseClone  (inherited from Object )

Top

See Also

Reference

SecurityTokenCollection Class
Microsoft.Web.Services2.Security.Tokens Namespace