/// <summary>
        /// Set the number of retries when requesting recaps.
        /// </summary>
        /// <param name="retries">
        /// The number of retries.
        /// </param>
        public void setRetries(int retries)
        {
            // Verify that the native subscription has been allocated
            EnsurePeerCreated();

            // Call the native layer to set the number of retries
            CheckResultCode(SubscriptionNativeMethods.mamaSubscription_setRetries(NativeHandle, retries));
        }