InvalidByteRangeException Constructor

 

Namespace:   System.Net.Http
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Overload List

Name Description
System_CAPS_pubmethod InvalidByteRangeException(ContentRangeHeaderValue)

Initializes a new instance of the InvalidByteRangeException class.

System_CAPS_pubmethod InvalidByteRangeException(ContentRangeHeaderValue, SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidByteRangeException class.

System_CAPS_pubmethod InvalidByteRangeException(ContentRangeHeaderValue, String)

Initializes a new instance of the InvalidByteRangeException class.

System_CAPS_pubmethod 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

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

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

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

Return to top