Share via


AppointmentStore.FindConflictAsync Method

Definition

Overloads

FindConflictAsync(Appointment)

Returns an AppointmentConflictResult representing a conflict between the specified appointment and an existing appointment in the appointment store.

FindConflictAsync(Appointment, DateTime)

Returns an AppointmentConflictResult representing a conflict between the specified appointment and an existing appointment instance in the appointment store.

FindConflictAsync(Appointment)

Returns an AppointmentConflictResult representing a conflict between the specified appointment and an existing appointment in the appointment store.

public:
 virtual IAsyncOperation<AppointmentConflictResult ^> ^ FindConflictAsync(Appointment ^ appointment) = FindConflictAsync;
/// [Windows.Foundation.Metadata.Overload("FindConflictAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<AppointmentConflictResult> FindConflictAsync(Appointment const& appointment);
/// [Windows.Foundation.Metadata.Overload("FindConflictAsync")]
IAsyncOperation<AppointmentConflictResult> FindConflictAsync(Appointment const& appointment);
[Windows.Foundation.Metadata.Overload("FindConflictAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<AppointmentConflictResult> FindConflictAsync(Appointment appointment);
[Windows.Foundation.Metadata.Overload("FindConflictAsync")]
public IAsyncOperation<AppointmentConflictResult> FindConflictAsync(Appointment appointment);
function findConflictAsync(appointment)
Public Function FindConflictAsync (appointment As Appointment) As IAsyncOperation(Of AppointmentConflictResult)

Parameters

appointment
Appointment

The appointment for which a conflict is sought.

Returns

An asynchronous operation that returns an AppointmentConflictResult upon successful completion. For conflicts that are in the past, the returned AppointmentConflictResult object will have a Type of AppointmentConflictType.None.

Attributes

Windows requirements

App capabilities
appointmentsSystem

See also

Applies to

FindConflictAsync(Appointment, DateTime)

Returns an AppointmentConflictResult representing a conflict between the specified appointment and an existing appointment instance in the appointment store.

public:
 virtual IAsyncOperation<AppointmentConflictResult ^> ^ FindConflictAsync(Appointment ^ appointment, DateTime instanceStartTime) = FindConflictAsync;
/// [Windows.Foundation.Metadata.Overload("FindConflictAsyncWithInstanceStart")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<AppointmentConflictResult> FindConflictAsync(Appointment const& appointment, DateTime const& instanceStartTime);
/// [Windows.Foundation.Metadata.Overload("FindConflictAsyncWithInstanceStart")]
IAsyncOperation<AppointmentConflictResult> FindConflictAsync(Appointment const& appointment, DateTime const& instanceStartTime);
[Windows.Foundation.Metadata.Overload("FindConflictAsyncWithInstanceStart")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<AppointmentConflictResult> FindConflictAsync(Appointment appointment, System.DateTimeOffset instanceStartTime);
[Windows.Foundation.Metadata.Overload("FindConflictAsyncWithInstanceStart")]
public IAsyncOperation<AppointmentConflictResult> FindConflictAsync(Appointment appointment, System.DateTimeOffset instanceStartTime);
function findConflictAsync(appointment, instanceStartTime)
Public Function FindConflictAsync (appointment As Appointment, instanceStartTime As DateTimeOffset) As IAsyncOperation(Of AppointmentConflictResult)

Parameters

appointment
Appointment

The appointment for which a conflict is sought.

instanceStartTime
DateTime DateTimeOffset

The start time of the appointment instance for which a conflict is sought.

Returns

An asynchronous operation that returns an AppointmentConflictResult upon successful completion. For conflicts that are in the past, the returned AppointmentConflictResult object will have a Type of AppointmentConflictType.None.

Attributes

Windows requirements

App capabilities
appointmentsSystem

See also

Applies to