UserDataTaskRecurrenceProperties クラス

定義

タスクが発生するタイミングと頻度を表します。

public ref class UserDataTaskRecurrenceProperties 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 UserDataTaskRecurrenceProperties 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 UserDataTaskRecurrenceProperties
function UserDataTaskRecurrenceProperties()
Public NotInheritable Class UserDataTaskRecurrenceProperties
継承
Object Platform::Object IInspectable UserDataTaskRecurrenceProperties
属性

Windows の要件

デバイス ファミリ
Windows 10 Creators Update (10.0.15063.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v4.0 で導入)

コンストラクター

UserDataTaskRecurrenceProperties()

UserDataTaskRecurrenceProperties クラスの新しいインスタンスを初期化します。

プロパティ

Day

タスクが発生する日を取得または設定します。 Day は UInt32 型で、既定値は 1 で、1 から 31 までの値を指定できます。

DaysOfWeek

タスクが発生するすべての曜日の UserDataTaskDaysOfWeek 型の値の組み合わせを取得または設定します。

Interval

タスクの出現間隔を取得または設定します。 Interval は UInt32 型で、既定値は 1 です。 日単位の場合、間隔は、週単位、週数などの間の日数です。

Month

タスクが発生する月を取得または設定します。 Month は UInt32 型で、既定値は 1 で、1 ~ 12 の値を指定できます。

Occurrences

タスクが繰り返される回数を取得または設定します。 出現回数は IReference(UInt32) 型で、既定では NULL です 。 出現は Until と相互に排他的です。

Unit

タスクが発生する頻度を示す UserDataTaskRecurrenceUnit 型の値を取得または設定します。

Until

タスクが有効になるまでの日付と時刻を取得または設定します。 Until は IReference(DateTime) 型で、既定では NULL です。 Until は、 Occurrences と相互に排他的です。

WeekOfMonth

タスクが発生する月の週を示す UserDataTaskWeekOfMonth 型の値を取得または設定します。 最初の週が既定値です。

適用対象