Partager via


FramingRecord.ContentLength Property

Gets the payload length of the framed record.

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.ContentLength

Syntax

'Declaration
Public ReadOnly Property ContentLength() As Integer
public int ContentLength {get;}
public:
property int ContentLength {
    int get();
}
public int get_ContentLength();
public function get ContentLength() : int;

Property Value

The number of bytes in the framed record.

Remarks

When writing, this property specifies the payload length in bytes of the framed record, or -1 if the record is chunked. The property does not give the actual size if the payload is chunked. When reading, this property indicates the length of the payload as specified in the framed record header.

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