The LBCookieStickinessPolicy data type.
 Declaration Syntax
 Declaration Syntax| C# | 
public class LBCookieStickinessPolicy
 Members
 Members| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description | 
|---|---|---|
|  | LBCookieStickinessPolicy()()()() | 
            Default constructor for a new LBCookieStickinessPolicy object.  Callers should use the
            properties or fluent setter (With...) methods to initialize this object after creating it.
             | 
|  | LBCookieStickinessPolicy(String, Int64) | 
            Constructs a new LBCookieStickinessPolicy object.
            Callers should use the properties or fluent setter (With...) methods to
            initialize any additional object members.
             | 
|  | CookieExpirationPeriod | 
            The time period in seconds after which the cookie should be considered stale. Not specifying this parameter indicates that the stickiness
            session will last for the duration of the browser session.
             
             | 
|  | Equals(Object) | (Inherited from Object.) | 
|  | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | 
|  | GetType()()()() | Gets the type of the current instance.(Inherited from Object.) | 
|  | PolicyName | 
            The name for the policy being created. The name must be unique within the set of policies for this load balancer.
             
             | 
|  | ToString()()()() | Returns a string that represents the current object.(Inherited from Object.) | 
|  | WithCookieExpirationPeriod(Int64) | Obsolete. 
            Sets the CookieExpirationPeriod property
             | 
|  | WithPolicyName(String) | Obsolete. 
            Sets the PolicyName property
             | 
 Inheritance Hierarchy
 Inheritance Hierarchy| Object | |
|  | LBCookieStickinessPolicy |