Initializes a new instance of a LinkedResource with the content of the supplied stream and with a media type.

Namespace:  Rebex.Mail
Assembly:  Rebex.Mail (in Rebex.Mail.dll)

Syntax

Visual Basic
Public Sub New ( _
	contentStream As Stream, _
	mediaType As String _
)
C#
public LinkedResource(
	Stream contentStream,
	string mediaType
)

Parameters

contentStream
Type: System.IO..::..Stream
Stream from which the data will be read.
mediaType
Type: System..::..String
A MIME media type of the file.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also