Share via


EmailAddress Constructors

Definition

Overloads

EmailAddress(String)

Initializes a new instance of EmailAddress.

EmailAddress(String, String)

Initializes a new instance of EmailAddress.

EmailAddress(String)

Source:
EmailAddress.cs
Source:
EmailAddress.cs

Initializes a new instance of EmailAddress.

public EmailAddress (string address);
new Azure.Communication.Email.EmailAddress : string -> Azure.Communication.Email.EmailAddress
Public Sub New (address As String)

Parameters

address
String

Email address of the receipient

Exceptions

address is null.

Applies to

EmailAddress(String, String)

Source:
EmailAddress.cs
Source:
EmailAddress.cs

Initializes a new instance of EmailAddress.

public EmailAddress (string address, string displayName);
new Azure.Communication.Email.EmailAddress : string * string -> Azure.Communication.Email.EmailAddress
Public Sub New (address As String, displayName As String)

Parameters

address
String

Email address of the receipient

displayName
String

The display name of the recepient

Exceptions

address is null.

Applies to