Solclient
ISessionGetCapability Method |
Returns an ICapability instance for the given CapabilityType.
Namespace: SolaceSystems.Solclient.Messaging
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 7.2.1.27 (7.2.1.27)
Syntax
ICapability GetCapability( CapabilityType capabilityType )
Function GetCapability ( capabilityType As CapabilityType ) As ICapability
ICapability^ GetCapability( CapabilityType capabilityType )
Parameters
- capabilityType
- Type: SolaceSystems.Solclient.MessagingCapabilityType
Return Value
Type: ICapabilityThe requested capability from the peer.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Thrown when the session is already disposed (terminal state). |
OperationErrorException | Thrown when the operation fails. |
See Also