InvalidByteRangeException Constructor (ContentRangeHeaderValue, String, Exception)

Initializes a new instance of the InvalidByteRangeException class.

Namespace:  System.Net.Http
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Syntax

'Declaration
Public Sub New ( _
    contentRange As ContentRangeHeaderValue, _
    message As String, _
    innerException As Exception _
)
'Usage
Dim contentRange As ContentRangeHeaderValue 
Dim message As String 
Dim innerException As Exception 

Dim instance As New InvalidByteRangeException(contentRange, _
    message, innerException)
public InvalidByteRangeException(
    ContentRangeHeaderValue contentRange,
    string message,
    Exception innerException
)
public:
InvalidByteRangeException(
    ContentRangeHeaderValue^ contentRange, 
    String^ message, 
    Exception^ innerException
)
new : 
        contentRange:ContentRangeHeaderValue * 
        message:string * 
        innerException:Exception -> InvalidByteRangeException
public function InvalidByteRangeException(
    contentRange : ContentRangeHeaderValue, 
    message : String, 
    innerException : Exception
)

Parameters

  • contentRange
    Type: ContentRangeHeaderValue

See Also

Reference

InvalidByteRangeException Class

InvalidByteRangeException Overload

System.Net.Http Namespace