FrameworkHttpHandler.ParseRangeHeader Method

Parses an HTTP-style range header.

Namespace:  Microsoft.TeamFoundation.Framework.Server.WebServices
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Protected Shared Function ParseRangeHeader ( _
    range As String, _
    <OutAttribute> ByRef totalLength As Long, _
    <OutAttribute> ByRef start As Long, _
    <OutAttribute> ByRef end As Long _
) As Boolean
protected static bool ParseRangeHeader(
    string range,
    out long totalLength,
    out long start,
    out long end
)
protected:
static bool ParseRangeHeader(
    String^ range, 
    [OutAttribute] long long% totalLength, 
    [OutAttribute] long long% start, 
    [OutAttribute] long long% end
)
static member ParseRangeHeader : 
        range:string * 
        totalLength:int64 byref * 
        start:int64 byref * 
        end:int64 byref -> bool
protected static function ParseRangeHeader(
    range : String, 
    totalLength : long, 
    start : long, 
    end : long
) : boolean

Parameters

  • start
    Type: System.Int64%

    Starting byte offset (inclusive).

Return Value

Type: System.Boolean
Returns Boolean.

Remarks

This method only accepts the style bytes=0-500/1000, as all 3 parameters are needed by the framework.

.NET Framework Security

See Also

Reference

FrameworkHttpHandler Class

Microsoft.TeamFoundation.Framework.Server.WebServices Namespace