Condividi tramite


FramingRecord.ChunkSize Property

Gets or sets the maximum size of a chunk when writing chunked payload framed records.

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

Usage

'Usage
Dim framingRecord1 As FramingRecord

Dim returnValue As Integer
returnValue = framingRecord1.ChunkSize

Dim sampleValue As Integer
framingRecord1.ChunkSize = sampleValue

Syntax

'Declaration
Public Property ChunkSize() As Integer
public int ChunkSize {get; set;}
public:
property int ChunkSize {
    int get();
    void set(int value);
}
public int get_ChunkSize();
public void set_ChunkSize(int);
public function get ChunkSize() : int;
public function set ChunkSize(int);

Property Value

The maximum size of a chunk.

Exceptions

Exception type Condition
ArgumentException

ChunkSize is set to a negative value.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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

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