Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Class: RT.Servers.HttpException

Summary

Provides an exception that carries an HTTP status code.

Constructors

HttpException(HttpStatusCode statusCode, string message = null, string userMessage = null)
Constructor.

Instance methods

void
GetObjectData(SerializationInfo info, StreamingContext context)
  • Overrides: Exception.GetObjectData(SerializationInfo, StreamingContext)
  • Implements: ISerializable.GetObjectData(SerializationInfo, StreamingContext)
  • Implements: _Exception.GetObjectData(SerializationInfo, StreamingContext)
Override for serialization.

Instance properties

HttpStatusCodeThe status code associated with this exception.
stringAn error message which may be revealed to the user.