コード例 #1
0
		/// <summary>
		/// Manages notification and alert preferences for applications and users.
		/// </summary>
		/// 
		/// <param name="ApplicationDeliveryPreferences">
		/// Specifies application-level event preferences that have been enabled,
		/// including the URL to which notifications should be delivered and whether
		/// notifications should be enabled or disabled (although the
		/// UserDeliveryPreferenceArray input property specifies specific
		/// notification subscriptions).
		/// </param>
		///
		/// <param name="UserDeliveryPreferenceList">
		/// Specifies events and whether or not they are enabled.
		/// </param>
		///
		/// <param name="UserData">
		/// Specifies user data for notification settings, such as mobile phone number.
		/// </param>
		///
		/// <param name="EventPropertyList">
		/// Characteristics or details of an event such as type, name and value.
		/// Currently can only be set for wireless applications.
		/// </param>
		///
		/// <param name="DeliveryURLName">
		/// Specifies up to 25 ApplicationDeliveryPreferences.DeliveryURLDetails.DeliveryURLName
		/// to associate with a user token sent in a SetNotificationPreferences request. To
		/// specify multiple DeliveryURLNames, create separate instances of
		/// ApplicationDeliveryPreferences.DeliveryURLDetails.DeliveryURLName, and then enable
		/// up to 25 DeliveryURLNames by including them in comma-separated format in this field.
		/// </param>
		///
		public void SetNotificationPreferences(ApplicationDeliveryPreferencesType ApplicationDeliveryPreferences, NotificationEnableTypeCollection UserDeliveryPreferenceList, NotificationUserDataType UserData, NotificationEventPropertyTypeCollection EventPropertyList, string DeliveryURLName)
		{
			this.ApplicationDeliveryPreferences = ApplicationDeliveryPreferences;
			this.UserDeliveryPreferenceList = UserDeliveryPreferenceList;
			this.UserData = UserData;
			this.EventPropertyList = EventPropertyList;
			this.DeliveryURLName = DeliveryURLName;

			Execute();
			
		}
コード例 #2
0
        /// <summary>
        /// Manages notification and alert preferences for applications and users.
        /// </summary>
        ///
        /// <param name="ApplicationDeliveryPreferences">
        /// Specifies application-level event preferences that have been enabled,
        /// including the URL to which notifications should be delivered and whether
        /// notifications should be enabled or disabled (although the
        /// <b>UserDeliveryPreferenceArray</b> input property specifies specific
        /// notification subscriptions).
        /// </param>
        ///
        /// <param name="UserDeliveryPreferenceList">
        /// Specifies events and whether or not they are enabled.
        /// </param>
        ///
        /// <param name="UserData">
        /// Specifies user data for notification settings, such as mobile phone number.
        /// </param>
        ///
        /// <param name="EventPropertyList">
        /// Characteristics or details of an event such as type, name and value.
        /// Currently can only be set for wireless applications.
        /// </param>
        ///
        /// <param name="DeliveryURLName">
        /// Specifies up to 25 ApplicationDeliveryPreferences.DeliveryURLDetails.DeliveryURLName to associate with a user token sent in a SetNotificationPreferences request. To specify multiple DeliveryURLNames, create separate instances of ApplicationDeliveryPreferences.DeliveryURLDetails.DeliveryURLName, and then enable up to 25 DeliveryURLNames by including them in comma-separated format in this field.
        /// </param>
        ///
        public void SetNotificationPreferences(ApplicationDeliveryPreferencesType ApplicationDeliveryPreferences, List <NotificationEnableType> UserDeliveryPreferenceList, NotificationUserDataType UserData, List <NotificationEventPropertyType> EventPropertyList, string DeliveryURLName)
        {
            this.ApplicationDeliveryPreferences = ApplicationDeliveryPreferences;
            this.UserDeliveryPreferenceList     = UserDeliveryPreferenceList;
            this.UserData          = UserData;
            this.EventPropertyList = EventPropertyList;
            this.DeliveryURLName   = DeliveryURLName;

            Execute();
        }