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
'Usage
Dim source As Stream
Dim returnValue As EmailMessage
returnValue = EmailMessage.Create(source)
public static EmailMessage Create(
Stream source
)
Parameters
- source
Type: System.IO.Stream
A readable stream that contains message data.