SizeLimitedStream Constructor(Stream,Int64)
See Also 
SourceCode.IO Namespace > SizeLimitedStream Class > SizeLimitedStream Constructor : SizeLimitedStream Constructor(Stream,Int64)



target
maxLength

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal target As Stream, _
   ByVal maxLength As Long _
)
Visual Basic (Usage) Copy Code
Dim target As Stream
Dim maxLength As Long
 
Dim instance As New SizeLimitedStream(target, maxLength)
C#  
public SizeLimitedStream( 
   Stream target,
   long maxLength
)
C++/CLI  
public:
SizeLimitedStream( 
   Stream^ target,
   int64 maxLength
)

Parameters

target
maxLength

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also