다음을 통해 공유


EmailMessage.Create Method (Stream)

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

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

Syntax

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

Parameters

  • source
    A readable stream 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