/// <summary>
        /// Set the subscription type for the subscription being created.
        /// If not called the subscription type defaults to MAMA_SUBSC_TYPE_NORMAL.
        /// See mamaSubscriptionType enum for valid values.
        /// </summary>
        /// <param name="type">
        /// The type to set.
        /// </param>
        public void setSubscriptionType(mamaSubscriptionType type)
        {
            // Verify that the native subscription has been allocated
            EnsurePeerCreated();

            // Call the native layer to set the subscription type
            CheckResultCode(SubscriptionNativeMethods.mamaSubscription_setSubscriptionType(NativeHandle, (int)type));
        }