Udostępnij za pośrednictwem


PinnedContactManager.SignalContactActivity(Contact) Method

Definition

Indicates to Windows when activity that is related to a pinned contact occurs.

public:
 virtual void SignalContactActivity(Contact ^ contact) = SignalContactActivity;
void SignalContactActivity(Contact const& contact);
public void SignalContactActivity(Contact contact);
function signalContactActivity(contact)
Public Sub SignalContactActivity (contact As Contact)

Parameters

contact
Contact

The contact that is exhibits activity.

Windows requirements

App capabilities
contactsSystem

Remarks

Activity could be any interesting event related to a contact that occurs in your app. For example, if your app receives a message or mail for a contact, your app could call the SignalContactActivity to report that event. Windows indicates this reported activity to the user. Windows does not indicate anything to the user if the contact is not pinned. If you call this method for a contact that is not pinned, no error will occur.

Your app can call this method from a background thread.

Applies to