-api-id | -api-type |
---|---|
P:Windows.ApplicationModel.Activation.ContactMessageActivatedEventArgs.Contact |
winrt property |
Gets the contact for the message.
The contact for the message.
Use the Contact property to collect additional info about the contact that is being messaged. The contact can have a name and thumbnail that can be used to represent it in your app’s UI. Or, the contact can have alternative user ids that can be used in case the primary user id is unavailable. The ConnectedServiceAccounts property contains a list of all services available for the contact. You can use the ContactConnectedServiceAccount.ServiceName and ContactConnectedServiceAccount.Id properties on each service to retrieve alternative services and user ids respectively.
Here are possible Contact properties that can be populated during a message activation: