10.27.03

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.27.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