共用方式為


EmailRecipients Constructors

Definition

Overloads

EmailRecipients(IEnumerable<EmailAddress>)

Initializes a new instance of EmailRecipients.

EmailRecipients(IEnumerable<EmailAddress>, IEnumerable<EmailAddress>, IEnumerable<EmailAddress>)

Initializes a new instance of the EmailRecipients class.

EmailRecipients(IEnumerable<EmailAddress>)

Source:
EmailRecipients.cs
Source:
EmailRecipients.cs

Initializes a new instance of EmailRecipients.

public EmailRecipients (System.Collections.Generic.IEnumerable<Azure.Communication.Email.EmailAddress> to);
new Azure.Communication.Email.EmailRecipients : seq<Azure.Communication.Email.EmailAddress> -> Azure.Communication.Email.EmailRecipients
Public Sub New (to As IEnumerable(Of EmailAddress))

Parameters

to
IEnumerable<EmailAddress>

Email To recipients.

Exceptions

to is null.

Applies to

EmailRecipients(IEnumerable<EmailAddress>, IEnumerable<EmailAddress>, IEnumerable<EmailAddress>)

Source:
EmailRecipients.cs
Source:
EmailRecipients.cs

Initializes a new instance of the EmailRecipients class.

public EmailRecipients (System.Collections.Generic.IEnumerable<Azure.Communication.Email.EmailAddress> to = default, System.Collections.Generic.IEnumerable<Azure.Communication.Email.EmailAddress> cc = default, System.Collections.Generic.IEnumerable<Azure.Communication.Email.EmailAddress> bcc = default);
new Azure.Communication.Email.EmailRecipients : seq<Azure.Communication.Email.EmailAddress> * seq<Azure.Communication.Email.EmailAddress> * seq<Azure.Communication.Email.EmailAddress> -> Azure.Communication.Email.EmailRecipients
Public Sub New (Optional to As IEnumerable(Of EmailAddress) = Nothing, Optional cc As IEnumerable(Of EmailAddress) = Nothing, Optional bcc As IEnumerable(Of EmailAddress) = Nothing)

Parameters

to
IEnumerable<EmailAddress>

Email to recipients.

cc
IEnumerable<EmailAddress>

Email cc recipients.

bcc
IEnumerable<EmailAddress>

Email bcc recipients.

Exceptions

to is null.

Applies to