StateServerKey Methods

ScaleOut Software NamedCache API

The StateServerKey type exposes the following members.


Public methodStatic memberAppNameToId(String)
Returns the application ID corresponding to the application name appName.
Public methodStatic memberAppNameToId(String, Boolean)
Return the application ID corresponding to the application name appName and optionally register with StateServer for event callbacks for the specified application name.
Public methodEquals
Compare another object with this StateServerKey.
(Overrides ValueTypeEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Return an integer value suitable for hashtable lookups. The value returned has the property that if a and b are both StateServerKey objects and if a.Equals(b) then a.GetHashCode() == b.GetHashCode().
(Overrides ValueTypeGetHashCode.)
Public methodGetKeyString
Retrieves the original (unhashed) string used as a key to a StateServer object.
Public methodGetObjectData
Support for the ISerializable interface. Populates a StateServerKey with the data needed to serialize the target object.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToByteArray
Return a copy of the key as an array of bytes. The AppId is not included in this array. See AppId to retrieve the AppId value used in this key.
Public methodToString
Return a human-consumable representation of this key value.
(Overrides ValueTypeToString.)
See Also