Udostępnij za pośrednictwem


AppointmentsProviderShowTimeFrameActivatedEventArgs Class

Definition

Provides data when an app is activated to show a specified time frame on the user’s calendar.

JavaScript This type appears as WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs.

public ref class AppointmentsProviderShowTimeFrameActivatedEventArgs sealed : IAppointmentsProviderShowTimeFrameActivatedEventArgs
public ref class AppointmentsProviderShowTimeFrameActivatedEventArgs sealed : IActivatedEventArgsWithUser, IAppointmentsProviderShowTimeFrameActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AppointmentsProviderShowTimeFrameActivatedEventArgs final : IAppointmentsProviderShowTimeFrameActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AppointmentsProviderShowTimeFrameActivatedEventArgs final : IActivatedEventArgsWithUser, IAppointmentsProviderShowTimeFrameActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AppointmentsProviderShowTimeFrameActivatedEventArgs : IAppointmentsProviderShowTimeFrameActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AppointmentsProviderShowTimeFrameActivatedEventArgs : IActivatedEventArgsWithUser, IAppointmentsProviderShowTimeFrameActivatedEventArgs
Public NotInheritable Class AppointmentsProviderShowTimeFrameActivatedEventArgs
Implements IAppointmentsProviderShowTimeFrameActivatedEventArgs
Public NotInheritable Class AppointmentsProviderShowTimeFrameActivatedEventArgs
Implements IActivatedEventArgsWithUser, IAppointmentsProviderShowTimeFrameActivatedEventArgs
Inheritance
Object Platform::Object IInspectable AppointmentsProviderShowTimeFrameActivatedEventArgs
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

This object is accessed when you override the OnActivated method, IActivatedEventArgs.Kind is AppointmentsProvider, and IAppointmentsProviderActivatedEventArgs.Verb is equal to the value of the AppointmentsProviderLaunchActionVerbs.ShowTimeFrame property.

Version history

Windows version SDK version Value added
1607 14393 User

Properties

Duration

Gets the duration of the time frame to be shown.

Kind

Gets the activation type.

PreviousExecutionState

Gets the execution state of the app before it was activated.

SplashScreen

Gets the splash screen object, which provides information about the transition from the splash screen to the activated app.

TimeToShow

Gets the starting date and time of the time frame to be shown.

User

Gets the user that the app was activated for.

Verb

Gets the action to be performed by the appointments provider.

Applies to

See also