Dela via


AppointmentsProviderAddAppointmentActivatedEventArgs Class

Definition

Provides data when an app is activated to add an appointment to the user’s calendar.

JavaScript This type appears as WebUIAppointmentsProviderAddAppointmentActivatedEventArgs.

public ref class AppointmentsProviderAddAppointmentActivatedEventArgs sealed : IAppointmentsProviderAddAppointmentActivatedEventArgs
public ref class AppointmentsProviderAddAppointmentActivatedEventArgs sealed : IActivatedEventArgsWithUser, IAppointmentsProviderAddAppointmentActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AppointmentsProviderAddAppointmentActivatedEventArgs final : IAppointmentsProviderAddAppointmentActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AppointmentsProviderAddAppointmentActivatedEventArgs final : IActivatedEventArgsWithUser, IAppointmentsProviderAddAppointmentActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AppointmentsProviderAddAppointmentActivatedEventArgs : IAppointmentsProviderAddAppointmentActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AppointmentsProviderAddAppointmentActivatedEventArgs : IActivatedEventArgsWithUser, IAppointmentsProviderAddAppointmentActivatedEventArgs
Public NotInheritable Class AppointmentsProviderAddAppointmentActivatedEventArgs
Implements IAppointmentsProviderAddAppointmentActivatedEventArgs
Public NotInheritable Class AppointmentsProviderAddAppointmentActivatedEventArgs
Implements IActivatedEventArgsWithUser, IAppointmentsProviderAddAppointmentActivatedEventArgs
Inheritance
Object Platform::Object IInspectable AppointmentsProviderAddAppointmentActivatedEventArgs
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.AddAppointment property.

Version history

Windows version SDK version Value added
1607 14393 User

Properties

AddAppointmentOperation

Gets the appointment that is provided to the app when the user tries to add it.

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.

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