Condividi tramite


SecurityPolicyAssertion.TtlInSeconds Property

Gets or sets the default number of seconds that a SOAP message is valid after its creation.

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

Usage

'Usage
Dim securityPolicyAssertion1 As SecurityPolicyAssertion

Dim returnValue As Integer
returnValue = securityPolicyAssertion1.TtlInSeconds

Dim sampleValue As Integer
securityPolicyAssertion1.TtlInSeconds = sampleValue

Syntax

'Declaration
Public Property TtlInSeconds() As Integer
public int TtlInSeconds {get; set;}
public:
property int TtlInSeconds {
    int get();
    void set(int value);
}
public int get_TtlInSeconds();
public void set_TtlInSeconds(int);
public function get TtlInSeconds() : int;
public function set TtlInSeconds(int);

Property Value

The default number of seconds that a SOAP message is valid after its creation. The default value is 5 minutes (300 seconds).

Exceptions

Exception type Condition
ArgumentOutOfRangeException

TtlInSeconds is set to a negative value.

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

SecurityPolicyAssertion Class
SecurityPolicyAssertion Members
Microsoft.Web.Services3.Design Namespace