10.27.03

ISessionIsCapable Method

Checks if the specified capability type is set on the currently connected session. Returns true if the session has the specified CapabilityType.

Definition

Namespace: SolaceSystems.Solclient.Messaging
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 10.27.0
C#
bool IsCapable(
	CapabilityType capabilityType
)

Parameters

capabilityType  CapabilityType

Return Value

Boolean
A boolean representing if the capability is supported.

Exceptions

ObjectDisposedException Thrown when the session is already disposed (terminal state).
OperationErrorException Thrown when the operation fails.

See Also