Udostępnij za pośrednictwem


AppointmentsProviderReplaceAppointmentActivatedEventArgs Class

Definition

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

JavaScript This type appears as WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs.

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

Version history

Windows version SDK version Value added
1607 14393 User

Properties

Kind

Gets the activation type.

PreviousExecutionState

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

ReplaceAppointmentOperation

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

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