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
public static EmailMessage Create (
MimeDocument mimeDocument
)
public:
static EmailMessage^ Create (
MimeDocument^ mimeDocument
)
public static EmailMessage Create (
MimeDocument mimeDocument
)
public static function Create (
mimeDocument : MimeDocument
) : EmailMessage
Parameters
- mimeDocument
A MimeDocument that contains message data.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows Server 2003