Partager 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 synchronize 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  Overloaded. (Inherited from Object )
public method GetEnumerator Gets an IEnumerator that can iterate through the SecurityTokenCollection.
public method GetHashCode  (Inherited from Object )
public method GetType  (Inherited from Object )
public method static ReferenceEquals  (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

Explicit Interface Implementations

  Name Description
System.Collections.ICollection.CopyTo  

Top

See Also

Reference

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