Class RangeNotSatisfiableException
Summary description for RangeNotSatisfiableException.
Inheritance
System.Object
RangeNotSatisfiableException
Namespace: ImageVault.Common.Lib
Assembly: ImageVault.Common.dll
Syntax
public class RangeNotSatisfiableException : Exception
Constructors
RangeNotSatisfiableException(Int64, Int64, Int64)
Declaration
public RangeNotSatisfiableException(long requestedOffset, long requestedLength, long validLength)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | requestedOffset | |
System.Int64 | requestedLength | |
System.Int64 | validLength |
RangeNotSatisfiableException(SerializationInfo, StreamingContext)
Declaration
public RangeNotSatisfiableException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
RangeNotSatisfiableException(String)
Declaration
public RangeNotSatisfiableException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
Properties
RequestedLength
Gets the requested length
Declaration
public long RequestedLength { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
RequestedOffset
Gets the requested offset
Declaration
public long RequestedOffset { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
ValidLength
Gets the maximum length of the range
Declaration
public long ValidLength { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Methods
GetObjectData(SerializationInfo, StreamingContext)
When overridden in a derived class, sets the SerializationInfo with information about the exception.
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |