EmailMessage.Create method (MimeDocument)
The Create method creates a new instance of the EmailMessage class by using the specified MimeDocument.
Namespace: Microsoft.Exchange.Data.Transport.Email
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public Shared Function Create ( _
mimeDocument As MimeDocument _
) As EmailMessage
'Usage
Dim mimeDocument As MimeDocument
Dim returnValue As EmailMessage
returnValue = EmailMessage.Create(mimeDocument)
public static EmailMessage Create(
MimeDocument mimeDocument
)
Parameters
mimeDocument
Type: Microsoft.Exchange.Data.Mime.MimeDocumentA MimeDocument that contains message data.
Return value
Type: Microsoft.Exchange.Data.Transport.Email.EmailMessage