InvalidByteRangeException Constructor (ContentRangeHeaderValue)
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 _
)
'Usage
Dim contentRange As ContentRangeHeaderValue
Dim instance As New InvalidByteRangeException(contentRange)
public InvalidByteRangeException(
ContentRangeHeaderValue contentRange
)
public:
InvalidByteRangeException(
ContentRangeHeaderValue^ contentRange
)
new :
contentRange:ContentRangeHeaderValue -> InvalidByteRangeException
public function InvalidByteRangeException(
contentRange : ContentRangeHeaderValue
)
Parameters
- contentRange
Type: ContentRangeHeaderValue
See Also
Reference
InvalidByteRangeException Class