ISession.IsCapable Method

Solclient

ISessionIsCapable Method
version: 7.2.1.27
Checks if the specified capability type is set on the currently connected session. Returns true if the session has the specified CapabilityType.

Namespace: SolaceSystems.Solclient.Messaging
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 7.2.1.27 (7.2.1.27)
Syntax
bool IsCapable(
	CapabilityType capabilityType
)
Function IsCapable ( 
	capabilityType As CapabilityType
) As Boolean
bool IsCapable(
	CapabilityType capabilityType
)

Parameters

capabilityType
Type: SolaceSystems.Solclient.MessagingCapabilityType

Return Value

Type: Boolean
A boolean representing if the capability is supported.
Exceptions
ExceptionCondition
ObjectDisposedException Thrown when the session is already disposed (terminal state).
OperationErrorException Thrown when the operation fails.
See Also