IReplicationGroupMessageIdCompare Method
Compares one id instance to another.
Namespace: SolaceSystems.Solclient.MessagingAssembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 10.27.0
int Compare(
IReplicationGroupMessageId otherId
)
- otherId IReplicationGroupMessageId
- The other id instance to compare to.
Int32
Returns
Int32 A value that indicates the relative order of the objects being compared. The return value has these meanings:
-
less then 0, This instance precedes otherId in the sort order.
-
0, This instance occurs in the same position in the sort order as otherId.
-
greater then 0, This instance follows otherId in the sort order.
ArgumentNullException | When otherId paraemter is null. |
ArgumentException |
When otherId object parameter is not created from the api.
|
OperationErrorException |
When otherId comparison operation fails.
Possible sub-codes:
|
FatalErrorException |
Thrown when an unrecoverable error occurs.
|