UserDataTaskRegenerationProperties Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents how often a task occurs.
public ref class UserDataTaskRegenerationProperties sealed
/// [Windows.Foundation.Metadata.Activatable(262144, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class UserDataTaskRegenerationProperties final
[Windows.Foundation.Metadata.Activatable(262144, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class UserDataTaskRegenerationProperties
function UserDataTaskRegenerationProperties()
Public NotInheritable Class UserDataTaskRegenerationProperties
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
Constructors
UserDataTaskRegenerationProperties() |
Initializes a new instance of the UserDataTaskRegenerationProperties class. |
Properties
Interval |
Gets or sets the interval between occurrences of a task. Interval is of type UInt32 and has a default value of 1. For daily, the interval is the number of days in between, for weekly, the number of weeks, and so on. |
Occurrences |
Gets or sets the number of times a task recurs. Occurrences is of type IReference(UInt32) and is NULL by default. Occurrences is mutually exclusive with Until. |
Unit |
Gets or sets a UserDataTaskRecurrenceUnit-typed value that indicates the frequency for which the task occurs. |
Until |
Gets or sets the date and time until which a task is valid. Until is of type IReference(DateTime) and is NULL by default. Until is mutually exclusive with Occurrences. |