共用方式為


AppointmentStore.FindConflictAsync 方法

定義

多載

FindConflictAsync(Appointment)

會傳回 AppointmentConflictResult ,代表指定約會與約會存放區中現有約會之間的衝突。

FindConflictAsync(Appointment, DateTime)

會傳回 AppointmentConflictResult ,代表指定約會與約會存放區中現有約會實例之間的衝突。

FindConflictAsync(Appointment)

會傳回 AppointmentConflictResult ,代表指定約會與約會存放區中現有約會之間的衝突。

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)

參數

appointment
Appointment

要尋找衝突的約會。

傳回

在成功完成時傳回 AppointmentConflictResult 的非同步作業。 針對過去發生的衝突,傳回的AppointmentConflictResult物件會有AppointmentConflictType.None的類型

屬性

Windows 需求

應用程式功能
appointmentsSystem

另請參閱

適用於

FindConflictAsync(Appointment, DateTime)

會傳回 AppointmentConflictResult ,代表指定約會與約會存放區中現有約會實例之間的衝突。

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)

參數

appointment
Appointment

要尋找衝突的約會。

instanceStartTime
DateTime DateTimeOffset

搜尋衝突之約會實例的開始時間。

傳回

在成功完成時傳回 AppointmentConflictResult 的非同步作業。 針對過去發生的衝突,傳回的AppointmentConflictResult物件會有AppointmentConflictType.None的類型

屬性

Windows 需求

應用程式功能
appointmentsSystem

另請參閱

適用於