/// <summary> /// Set the service level and an passes an optional service level parameter. This method must be invoked before create(). /// </summary> /// <param name="svcLevel"> /// The service level to set. /// </param> /// <param name="serviceLevelOpt"> /// The service level options. /// </param> public void setServiceLevel(mamaServiceLevel svcLevel, int serviceLevelOpt) { // Verify that the native subscription has been allocated EnsurePeerCreated(); // Call the native layer to set the service level CheckResultCode(SubscriptionNativeMethods.mamaSubscription_setServiceLevel(NativeHandle, (int)svcLevel, serviceLevelOpt)); }