Click or drag to resize

ContextProperties Class

version: 10.22.0
Defines Context properties. It is passed in to the ContextFactory's CreateContext method.
Inheritance Hierarchy
SystemObject
  SolaceSystems.Solclient.MessagingBaseProperties
    SolaceSystems.Solclient.MessagingContextProperties

Namespace:  SolaceSystems.Solclient.Messaging
Assembly:  SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 10.22.0
Syntax
C#
[SerializableAttribute]
public class ContextProperties : BaseProperties

The ContextProperties type exposes the following members.

Constructors
  NameDescription
Public methodContextProperties
Class constructor.
Top
Properties
  NameDescription
Public propertyCount
Returns the count of properties.
(Inherited from BaseProperties.)
Public propertyMaxFlows Obsolete.
The maximum number of flows supported across all sessions in the context. Default: 100.

This property is obsolete, setting MaxFlows no longer has any effect on the maximum number of flows allowed per context.

Public propertyMaxSessions Obsolete.
The maximum number of sessions allowed within a context. Default: 1

This property is obsolete, setting MaxSessions no longer has any effect on the maximum number of sessions allowed per context.

Public propertyTimerResolutionInMsecs
The internal timer resolution (in milliseconds). Valid range is >= 10. See TimerTask for more details on the usage of this property. Default: 50.
Top
Methods
  NameDescription
Public methodClear
Removes all properties.
(Inherited from BaseProperties.)
Public methodClone
Creates a new object that is a deep copy of the current instance.
(Inherited from BaseProperties.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from BaseProperties.)
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 methodStatic memberFromDictionary
Creates a new ContextProperties instance given a dictionary of key/value strings - Reserved for future use
Public methodStatic memberFromDictionaryWithPrefix
Creates a new ContextProperties instance given a dictionary of key/value strings - Reserved for future use
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from BaseProperties.)
Protected methodGetPropertyValue
Gets the property value associated with the given key.
(Inherited from BaseProperties.)
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.)
Protected methodRemoveProperty
internal method to remove property from property map
(Inherited from BaseProperties.)
Public methodSetCCSMPProperty
Sets a property to be passed directly to CCSMP. Properties set in this manner will always override properties set using the shortcut properties, regardless of order.
(Inherited from BaseProperties.)
Protected methodSetPropertyValue
Associates a property key with a property value.
(Inherited from BaseProperties.)
Protected methodSetReferencePropertyValue
Associates a property key with a property value. The value will not be marked for serialization.
(Inherited from BaseProperties.)
Public methodToDictionary
Returns a new IDictionary instance.
Public methodToDictionaryWithPrefix
Returns a new IDictionary instance
Public methodToString
Returns a String that represents the current Object.
(Overrides ObjectToString.)
Top
See Also