EmailMessage.Create Method (BodyFormat)

The Create method creates a new instance of the EmailMessage class by using the specified BodyFormat.

Namespace: Microsoft.Exchange.Data.Transport.Email
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)

Syntax

'Declaration
Public Shared Function Create ( _
    bodyFormat As BodyFormat _
) As EmailMessage
public static EmailMessage Create (
    BodyFormat bodyFormat
)
public:
static EmailMessage^ Create (
    BodyFormat bodyFormat
)
public static EmailMessage Create (
    BodyFormat bodyFormat
)
public static function Create (
    bodyFormat : BodyFormat
) : EmailMessage

Parameters

  • bodyFormat
    One of the valid BodyFormat enumeration values that specify the format for the body of the e-mail message.

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