/// <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)); }
/// <summary> /// Set the subscrption type. Do this before calling activate() /// Default is <code>mamaSubscriptionType.MAMA_SUBSC_TYPE_NORMAL</code> /// </summary> /// <param name="type"></param> public void setType(mamaSubscriptionType type) { mType = type; }
/// <summary> /// Set the subscrption type. Do this before calling activate() /// Default is <code>mamaSubscriptionType.MAMA_SUBSC_TYPE_NORMAL</code> /// </summary> /// <param name="type"></param> public void setType(mamaSubscriptionType type) { mType = type; }
/// <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)); }