ISession.SetClientDescription Method

Solclient

ISessionSetClientDescription Method
version: 7.2.1.27

Note: This API is now obsolete.

Sets the Client Description.

Namespace: SolaceSystems.Solclient.Messaging
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 7.2.1.27 (7.2.1.27)
Syntax
[ObsoleteAttribute("Use ModifyProperty(SessionProperties.PROPERTY, object) instead ", 
	false)]
ReturnCode SetClientDescription(
	string clientDescription
)
<ObsoleteAttribute("Use ModifyProperty(SessionProperties.PROPERTY, object) instead ", 
	false)>
Function SetClientDescription ( 
	clientDescription As String
) As ReturnCode
[ObsoleteAttribute(L"Use ModifyProperty(SessionProperties.PROPERTY, object) instead ", 
	false)]
ReturnCode SetClientDescription(
	String^ clientDescription
)

Parameters

clientDescription
Type: SystemString
string

Return Value

Type: ReturnCode
Throws OperationErrorException if it fails, otherwise it returns SOLCLIENT_WOULD_BLOCK or SOLCLIENT_OK.
Exceptions
ExceptionCondition
OperationErrorException Thrown when the operation fails.
ObjectDisposedException Thrown when the session is already disposed (terminal state).
FatalErrorException Thrown when an unrecoverable error occurs.
ArgumentNullException Thrown if any of the required parameters are null.
See Also