Partager via


FramingReader Constructor (Stream, Int32)

Initializes a new instance of the FramingReader class using the specified stream and the maximum number of bytes to read.

Namespace: Microsoft.Web.Services3.Messaging.Framing
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim stream As Stream
Dim maxRequestLength As Integer
Dim framingReader1 As New FramingReader(stream, maxRequestLength)

Syntax

'Declaration
Public Sub New( _
    ByVal stream As Stream, _
    ByVal maxRequestLength As Integer _
)
public FramingReader(
    Stream stream, 
    int maxRequestLength
);
public:
FramingReader(
    Stream^ stream, 
    int maxRequestLength
);
public FramingReader(
    Stream stream, 
    int maxRequestLength
);
public function FramingReader(
     stream : Stream, 
     maxRequestLength : int
);

Parameters

  • stream
    The Stream to be read.
  • maxRequestLength
    The maximum number of bytes to read.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

FramingReader Class
FramingReader Members
Microsoft.Web.Services3.Messaging.Framing Namespace