Partager via


SecurityPolicyAssertion.RenewExpiredSecurityContext Property

Gets or sets a value indicating whether a new SecurityContextToken security token is automatically requested as the current one expires when a secure conversation is established.

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

Usage

'Usage
Dim securityPolicyAssertion1 As SecurityPolicyAssertion

Dim returnValue As Boolean
returnValue = securityPolicyAssertion1.RenewExpiredSecurityContext

Dim sampleValue As Boolean
securityPolicyAssertion1.RenewExpiredSecurityContext = sampleValue

Syntax

'Declaration
Public Property RenewExpiredSecurityContext() As Boolean
public bool RenewExpiredSecurityContext {get; set;}
public:
property bool RenewExpiredSecurityContext {
    bool get();
    void set(bool value);
}
public boolean get_RenewExpiredSecurityContext();
public void set_RenewExpiredSecurityContext(boolean);
public function get RenewExpiredSecurityContext() : Boolean;
public function set RenewExpiredSecurityContext(Boolean);

Property Value

true if a new SecurityContextToken security token is automatically requested as the current one expires when a secure conversation is established; otherwise, false. The default is true.

Remarks

The RenewExpiredSecurityContext property is only valid when the EstablishSecurityContext is true.

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