EmailAddress Constructors
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET