InvalidByteRangeException Constructor
Namespace: System.Net.Http
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Overload List
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. |
See Also
InvalidByteRangeException Class
System.Net.Http Namespace
Return to top
InvalidByteRangeException Constructor (ContentRangeHeaderValue)
Initializes a new instance of the InvalidByteRangeException class.
Syntax
public InvalidByteRangeException(
ContentRangeHeaderValue contentRange
)
public:
InvalidByteRangeException(
ContentRangeHeaderValue^ contentRange
)
new :
contentRange:ContentRangeHeaderValue -> InvalidByteRangeException
Public Sub New (
contentRange As ContentRangeHeaderValue
)
Parameters
- contentRange
Type: System.Net.Http.Headers.ContentRangeHeaderValue
Return to top
InvalidByteRangeException Constructor (ContentRangeHeaderValue, SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidByteRangeException class.
Syntax
public InvalidByteRangeException(
ContentRangeHeaderValue contentRange,
SerializationInfo info,
StreamingContext context
)
public:
InvalidByteRangeException(
ContentRangeHeaderValue^ contentRange,
SerializationInfo^ info,
StreamingContext context
)
new :
contentRange:ContentRangeHeaderValue *
info:SerializationInfo *
context:StreamingContext -> InvalidByteRangeException
Public Sub New (
contentRange As ContentRangeHeaderValue,
info As SerializationInfo,
context As StreamingContext
)
Parameters
- contentRange
Type: System.Net.Http.Headers.ContentRangeHeaderValue
- context
Type: System.Runtime.Serialization.StreamingContext
Return to top
InvalidByteRangeException Constructor (ContentRangeHeaderValue, String)
Initializes a new instance of the InvalidByteRangeException class.
Syntax
public InvalidByteRangeException(
ContentRangeHeaderValue contentRange,
string message
)
public:
InvalidByteRangeException(
ContentRangeHeaderValue^ contentRange,
String^ message
)
new :
contentRange:ContentRangeHeaderValue *
message:string -> InvalidByteRangeException
Public Sub New (
contentRange As ContentRangeHeaderValue,
message As String
)
Parameters
- contentRange
Type: System.Net.Http.Headers.ContentRangeHeaderValue
- message
Type: System.String
Return to top
InvalidByteRangeException Constructor (ContentRangeHeaderValue, String, Exception)
Initializes a new instance of the InvalidByteRangeException class.
Syntax
public InvalidByteRangeException(
ContentRangeHeaderValue contentRange,
string message,
Exception innerException
)
public:
InvalidByteRangeException(
ContentRangeHeaderValue^ contentRange,
String^ message,
Exception^ innerException
)
new :
contentRange:ContentRangeHeaderValue *
message:string *
innerException:Exception -> InvalidByteRangeException
Public Sub New (
contentRange As ContentRangeHeaderValue,
message As String,
innerException As Exception
)
Parameters
- contentRange
Type: System.Net.Http.Headers.ContentRangeHeaderValue
- message
Type: System.String
- innerException
Type: System.Exception
Return to top