Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

System.Object
  System.Exception
    System.Net.Http.InvalidByteRangeException

Namespace:  System.Net.Http
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
public class InvalidByteRangeException : Exception

The InvalidByteRangeException type exposes the following members.

  NameDescription
Public methodInvalidByteRangeException(ContentRangeHeaderValue)Initializes a new instance of the InvalidByteRangeException class.
Public methodInvalidByteRangeException(ContentRangeHeaderValue, String)Initializes a new instance of the InvalidByteRangeException class.
Public methodInvalidByteRangeException(ContentRangeHeaderValue, SerializationInfo, StreamingContext)Initializes a new instance of the InvalidByteRangeException class.
Public methodInvalidByteRangeException(ContentRangeHeaderValue, String, Exception)Initializes a new instance of the InvalidByteRangeException class.
Top
  NameDescription
Public propertyContentRange The current extend of the resource indicated in terms of a ContentRange header field.
Public propertyData (Inherited from Exception.)
Public propertyHelpLink (Inherited from Exception.)
Public propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)
Top
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectDataSecurity Critical. (Inherited from Exception.)
Public methodGetType (Inherited from Exception.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Exception.)
Top
  NameDescription
Protected eventSerializeObjectState (Inherited from Exception.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.