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.
Implements
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 |
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 |
Nullable<Exception> | innerException | The exception that is the cause of this exception, or |
HttpContentSerializationException(SerializationInfo, StreamingContext)
Declaration
protected HttpContentSerializationException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |