ReqRest
Show / Hide Table of Contents

Class HttpContentSerializationException

An exception that gets thrown by various members inside the library when an IHttpContentDeserializer throws an exception during the deserialization of a resource.

Inheritance
Object
Exception
HttpContentSerializationException
Implements
ISerializable
Namespace: ReqRest.Serializers
Assembly: ReqRest.dll
Syntax
[Serializable]
public class HttpContentSerializationException : Exception, ISerializable

Constructors

HttpContentSerializationException()

Initializes a new instance of the HttpContentSerializationException class with a default error message.

Declaration
public HttpContentSerializationException()

HttpContentSerializationException(Nullable<String>)

Initializes a new instance of the HttpContentSerializationException class with the specified error message.

Declaration
public HttpContentSerializationException(string? message)
Parameters
Type Name Description
Nullable<String> message

The message that describes the error or null to use a default message.

HttpContentSerializationException(Nullable<String>, Nullable<Exception>)

Initializes a new instance of the HttpContentSerializationException class with the specified error message and and another exception which was the cause of this exception.

Declaration
public HttpContentSerializationException(string? message, Exception? innerException)
Parameters
Type Name Description
Nullable<String> message

The message that describes the error or null to use a default message.

Nullable<Exception> innerException

The exception that is the cause of this exception, or null, if no inner exception is specified.

HttpContentSerializationException(SerializationInfo, StreamingContext)

Declaration
protected HttpContentSerializationException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context

Implements

System.Runtime.Serialization.ISerializable
Back to top Copyright © 2019 ReqRest - Generated with DocFX - Material Theme made by Oscar Vásquez - Impressum (Imprint)