Class RangeNotSatisfiableException
Summary description for RangeNotSatisfiableException.
Inheritance
System.Object
System.Exception
RangeNotSatisfiableException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: ImageVault.Common.Lib
Assembly: ImageVault.Common.dll
Syntax
public class RangeNotSatisfiableException : Exception, ISerializable, _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. |
Overrides
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception