Export (0) Print
Expand All

MailRecipient Constructor

HealthVault
Creates a new instance of the MailRecipient class with the specified email address and display name.

Namespace: Microsoft.Health
Assembly: Microsoft.Health (in Microsoft.Health.dll) Version: 2.1.0.0 (1.15.1003.9505)

public MailRecipient(
	string emailAddress,
	string displayName
)

Parameters

emailAddress
Type: System..::..String
The email address of the person who is to receive the email.
displayName
Type: System..::..String
The display name of the person who is to receive the email.

ExceptionCondition
System..::..ArgumentException The emailAddress or displayName parameter is null or empty.
Show:
© 2014 Microsoft