다음을 통해 공유


EncoderStream Constructor

The EncoderStream constructor creates a new EncoderStream that uses encoder to encode or decode data as it is read from or written to stream, depending on the value of access.

Namespace: Microsoft.Exchange.Data.Mime.Encoders
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)

Syntax

'Declaration
Public Sub New ( _
    stream As Stream, _
    encoder As ByteEncoder, _
    access As EncoderStreamAccess _
)
public EncoderStream (
    Stream stream,
    ByteEncoder encoder,
    EncoderStreamAccess access
)
public:
EncoderStream (
    Stream^ stream, 
    ByteEncoder^ encoder, 
    EncoderStreamAccess access
)
public EncoderStream (
    Stream stream, 
    ByteEncoder encoder, 
    EncoderStreamAccess access
)
public function EncoderStream (
    stream : Stream, 
    encoder : ByteEncoder, 
    access : EncoderStreamAccess
)

Parameters

  • stream
    The Stream object to read or write to.
  • encoder
    An object derived from ByteEncoder to use for encoding or decoding data as it is read or written.
  • access
    An EncoderStreamAccess enumeration value specifying whether stream is to be read from or written to.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003