ContactDataProviderConnection.SyncRequested 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當連絡人資料用戶端要求同步處理連絡人清單與伺服器時發生。
// Register
event_token SyncRequested(TypedEventHandler<ContactDataProviderConnection, ContactListSyncManagerSyncRequestEventArgs const&> const& handler) const;
// Revoke with event_token
void SyncRequested(event_token const* cookie) const;
// Revoke with event_revoker
ContactDataProviderConnection::SyncRequested_revoker SyncRequested(auto_revoke_t, TypedEventHandler<ContactDataProviderConnection, ContactListSyncManagerSyncRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<ContactDataProviderConnection,ContactListSyncManagerSyncRequestEventArgs> SyncRequested;
function onSyncRequested(eventArgs) { /* Your code */ }
contactDataProviderConnection.addEventListener("syncrequested", onSyncRequested);
contactDataProviderConnection.removeEventListener("syncrequested", onSyncRequested);
- or -
contactDataProviderConnection.onsyncrequested = onSyncRequested;
Public Custom Event SyncRequested As TypedEventHandler(Of ContactDataProviderConnection, ContactListSyncManagerSyncRequestEventArgs)
事件類型
Windows 需求
應用程式功能 |
contactsSystem
|