10.26.0

ISessionGetCapability Method

Returns an ICapability instance for the given CapabilityType.

Definition

Namespace: SolaceSystems.Solclient.Messaging
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 10.26.0
C#
ICapability GetCapability(
	CapabilityType capabilityType
)

Parameters

capabilityType  CapabilityType

Return Value

ICapability
The requested capability from the peer.

Exceptions

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

See Also