Solclient
ISessionIsCapable Method |
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: BooleanA boolean representing if the capability is supported.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Thrown when the session is already disposed (terminal state). |
OperationErrorException | Thrown when the operation fails. |
See Also