Partager via


Utilities.BeginComposeEmail Method (IEnumerable<Contact>, IEnumerable<DistributionGroup>, String, AsyncCallback, Object)

Launches a new Outlook message window pre-populated with the email addresses in the specified contact list and subject string passed in the first two arguments of this method.

Namespace:  Microsoft.Lync.Model
Assembly:  Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)

Syntax

'Declaration
Public Function BeginComposeEmail ( _
    toContacts As IEnumerable(Of Contact), _
    toDGs As IEnumerable(Of DistributionGroup), _
    subject As String, _
    utilitiesCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As Utilities
Dim toContacts As IEnumerable(Of Contact)
Dim toDGs As IEnumerable(Of DistributionGroup)
Dim subject As String
Dim utilitiesCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginComposeEmail(toContacts, _
    toDGs, subject, utilitiesCallback, _
    state)
public IAsyncResult BeginComposeEmail(
    IEnumerable<Contact> toContacts,
    IEnumerable<DistributionGroup> toDGs,
    string subject,
    AsyncCallback utilitiesCallback,
    Object state
)

Parameters

Return Value

Type: System.IAsyncResult

See Also

Reference

Utilities Class

Utilities Members

BeginComposeEmail Overload

Microsoft.Lync.Model Namespace