Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Top
Top
Top
[This is preliminary documentation and is subject to change.]
This class is used for a Content Studio User Session
Namespace: ContentStudio.Security
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
[SerializableAttribute] [TypeConverterAttribute(typeof(SessionIdConverter))] public struct SessionId : IConvertible, IEquatable<SessionId>
The SessionId type exposes the following members.
Properties
Name | Description | |
---|---|---|
AnonymousSessionId |
Defines the session identifier for an anonymous user.
| |
Id |
Gets or sets the underlying value of this SessionId.
|
Methods
Name | Description | |
---|---|---|
Ensure |
Ensures the specified connection id is valid and has not timed out.
| |
Equals(Int32) |
Returns a value indicating whether the value of this instance is equal to the specified Int32.
| |
Equals(Object) | (Overrides ValueTypeEquals(Object).) | |
Equals(SessionId) |
Returns a value indicating whether this instance is equal to the specified SessionId.
| |
FromInt32 |
Creates a new SessionId from an Int32.
| |
GetHashCode |
Serves as a hash function for a particular type.
(Overrides ValueTypeGetHashCode.) | |
GetType | (Inherited from Object.) | |
IsValid |
Determines whether the specified session id has a value that is within the supported range.
| |
ToInt32 |
Returns the session id as an integer.
| |
ToString | (Overrides ValueTypeToString.) |
Operators
Name | Description | |
---|---|---|
Equality |
Implements the operator ==.
| |
GreaterThan |
Implements the operator >.
| |
(Int32 to SessionId) |
Performs an implicit conversion from Int32 to SessionId.
| |
(SessionId to Int32) |
Performs an implicit conversion from SessionId to Int32.
| |
Inequality |
Implements the operator !=.
| |
LessThan |
Implements the operator <.
|
See Also