WebUIContactMessageActivatedEventArgs.Contact Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the contact for the message.
public:
property Contact ^ Contact { Contact ^ get(); };
Contact Contact();
public Contact Contact { get; }
var contact = webUIContactMessageActivatedEventArgs.contact;
Public ReadOnly Property Contact As Contact
Property Value
The contact for the message.
Implements
Remarks
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:
- DisplayName
- FirstName
- LastName
- MiddleName
- HonorificNamePrefix
- HonorificNameSuffix
- YomiDisplayName
- YomiFamilyName
- YomiGivenName
- Thumbnail
- ConnectedServiceAccounts