Click or drag to resize

ISessionModifyClientInfo Method

version: 10.22.0
Allows the following client name and description properties of a Session to be modified after the Session has been created.

The property modifications can be carried out in a blocking or non-blocking mode, depending on the flag ModifyPropertyFlag Attempting to specify other Session properties will result in SOLCLIENT_FAIL being returned.

Note that only one outstanding client info modification request is allowed. Note that changing client name property would trigger the P2P topic changes. To avoid message loss, it is recommended that this API is used only at the initialization time.

Namespace:  SolaceSystems.Solclient.Messaging
Assembly:  SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 10.22.0
ReturnCode ModifyClientInfo(
	SessionPropertiesPROPERTY sessionProperty,
	Object value,
	int flags,
	Object correlationKey


Type: SolaceSystems.Solclient.MessagingSessionPropertiesPROPERTY
The property to modify.
Type: SystemObject
The new value for the property.
Type: SystemInt32
One of the following flags: WaitForConfirm: if specified this call blocks the calling thread until a confirmation is received from the appliance (synchronous call).0: if 0 is specified, this method call will not block (asynchronous call).
Type: SystemObject
When specified (i.e. non null reference passed in), this correlationKey is returned in CorrelationKey - It is ignored if WaitForConfirm is specified.

Return Value

Type: ReturnCode
Throws OperationErrorException if failed. Otherwise it returns SOLCLIENT_WOULD_BLOCK if the operation cannot be accepted by the API immediately, SOLCLIENT_OK if successful, or SOLCLIENT_IN_PROGRESS if in progress.
OperationErrorException Thrown when the operation fails. Possible error subcodes include:
FatalErrorException Thrown when un-recoverable error occurs.
ObjectDisposedException Thrown when the session is already disposed (terminal state).
ArgumentNullException Thrown if any of the required parameters is null.
See Also