InvalidByteRangeException Class
An exception thrown by ByteRangeStreamContent in case none of the requested ranges overlap with the current extend of the selected resource. The current extend of the resource is indicated in the ContentRange property.
Namespace: System.Net.Http
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Inheritance Hierarchy
System.Object
System.Exception
System.Net.Http.InvalidByteRangeException
Syntax
public class InvalidByteRangeException : Exception
public ref class InvalidByteRangeException : Exception
type InvalidByteRangeException =
class
inherit Exception
end
Public Class InvalidByteRangeException
Inherits Exception
Constructors
Name | Description | |
---|---|---|
InvalidByteRangeException(ContentRangeHeaderValue) | Initializes a new instance of the InvalidByteRangeException class. |
|
InvalidByteRangeException(ContentRangeHeaderValue, SerializationInfo, StreamingContext) | Initializes a new instance of the InvalidByteRangeException class. |
|
InvalidByteRangeException(ContentRangeHeaderValue, String) | Initializes a new instance of the InvalidByteRangeException class. |
|
InvalidByteRangeException(ContentRangeHeaderValue, String, Exception) | Initializes a new instance of the InvalidByteRangeException class. |
Properties
Name | Description | |
---|---|---|
ContentRange | The current extend of the resource indicated in terms of a ContentRange header field. |
|
Data | (Inherited from Exception.) |
|
HelpLink | (Inherited from Exception.) |
|
HResult | (Inherited from Exception.) |
|
InnerException | (Inherited from Exception.) |
|
Message | (Inherited from Exception.) |
|
Source | (Inherited from Exception.) |
|
StackTrace | (Inherited from Exception.) |
|
TargetSite | (Inherited from Exception.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetBaseException() | (Inherited from Exception.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetObjectData(SerializationInfo, StreamingContext) | (Inherited from Exception.) |
|
GetType() | (Inherited from Exception.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Exception.) |
Events
Name | Description | |
---|---|---|
SerializeObjectState | (Inherited from Exception.) |
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.
See Also
Return to top