Assembly: soss_svcdotnet (in soss_svcdotnet.dll) Version: 220.127.116.11 (18.104.22.168)
public static uint AppNameToId( string appName )
Public Shared Function AppNameToId ( appName As String ) As UInteger
- Type: SystemString
The name of the application to look up.
Return ValueType: UInt32
The ID that StateServer assigns to correspond to appName.
Application names are used to group StateServer keys into distinct namespaces of keys. Identical object IDs refer to distinct objects if the objects are associated with different appNames. An AppID (the value returned from this method), is a handle to the namespace of objects represented by the appName.
Application ID's are managed by the StateServer across all StateServer clients. They survive client restarts.
Calling this method ensures that the caller is registered with the StateServer to receive event notifications (e.g. object expiration notifications) for objects associated with appName.