Partager via


RequestSecurityTokenResponse.KeySize Property

Gets or sets the size of the key associated with the issued security token.

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

Usage

'Usage
Dim requestSecurityTokenResponse1 As RequestSecurityTokenResponse

Dim returnValue As Integer
returnValue = requestSecurityTokenResponse1.KeySize

Dim sampleValue As Integer
requestSecurityTokenResponse1.KeySize = sampleValue

Syntax

'Declaration
Public Property KeySize() As Integer
public int KeySize {get; set;}
public:
property int KeySize {
    int get();
    void set(int value);
}
public int get_KeySize();
public void set_KeySize(int);
public function get KeySize() : int;
public function set KeySize(int);

Property Value

The size of the key, in bits.

Exceptions

Exception type Condition
ArgumentOutOfRangeException

KeySize is set to a value less than 0.

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

RequestSecurityTokenResponse Class
RequestSecurityTokenResponse Members
Microsoft.Web.Services3.Security Namespace