Specifies the maximum number of items in the cache.
Namespace: Microsoft.IdentityModel.Configuration
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As TokenReplayDetectionElement
Dim value As String

value = instance.Capacity

instance.Capacity = value

Syntax

Visual Basic
<ConfigurationPropertyAttribute("capacity", IsRequired:=False)> _
Public Property Capacity As String
C#
[ConfigurationPropertyAttribute("capacity", IsRequired=false)] 
public string Capacity { get; set; }
C++
[ConfigurationPropertyAttribute(L"capacity", IsRequired=false)] 
public:
property String^ Capacity {
		String^ get ();
		void set (String^ value);
}
J#
/** @property */
public String get_Capacity ()

/** @property */
public void set_Capacity (String value)
JScript
public function get Capacity () : String

public function set Capacity (value : String)

Exceptions

Exception type Condition

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 Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also