[This is preliminary documentation and is subject to change.]

Thrown when an error occurs in the URI routing system.

Inheritance Hierarchy

System.ObjectSystem.ObjectSystem::Object
  System.ExceptionSystem.ExceptionSystem::Exception
    Simple.Web.Routing.RoutingExceptionSimple.Web.Routing.RoutingExceptionSimple::Web::Routing::RoutingException

Namespace: Simple.Web.RoutingSimple.Web.RoutingSimple::Web::Routing
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

[Serializable]

public class RoutingExceptionException

VB

<Serializable> _

Public Class RoutingException Inherits Exception

C++

[Serializable]

public ref class RoutingExceptionpublic Exception

The RoutingExceptionRoutingExceptionRoutingException type exposes the following members.

Constructors

Name Description
RoutingException(string)New(String)RoutingException(String^) Initializes a new instance of the RoutingExceptionRoutingExceptionRoutingException class.
RoutingException(SerializationInfo, StreamingContext)New(SerializationInfo, StreamingContext)RoutingException(SerializationInfo^, StreamingContext) Initializes a new instance of the RoutingExceptionRoutingExceptionRoutingException class.
RoutingException(string, string)New(String, String)RoutingException(String^, String^) Initializes a new instance of the RoutingExceptionRoutingExceptionRoutingException class.
RoutingException(string, string, Exception)New(String, String, Exception)RoutingException(String^, String^, Exception^) Initializes a new instance of the RoutingExceptionRoutingExceptionRoutingException class.
Top

Properties

Name Description
DataDataData Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from ExceptionExceptionException.)
HResultHResultHResult Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from ExceptionExceptionException.)
HelpLinkHelpLinkHelpLink Gets or sets a link to the help file associated with this exception. (Inherited from ExceptionExceptionException.)
InnerExceptionInnerExceptionInnerException Gets the Exception instance that caused the current exception. (Inherited from ExceptionExceptionException.)
MessageMessageMessage Gets a message that describes the current exception. (Inherited from ExceptionExceptionException.)
SourceSourceSource Gets or sets the name of the application or the object that causes the error. (Inherited from ExceptionExceptionException.)
StackTraceStackTraceStackTrace Gets a string representation of the immediate frames on the call stack. (Inherited from ExceptionExceptionException.)
TargetSiteTargetSiteTargetSite Gets the method that throws the current exception. (Inherited from ExceptionExceptionException.)
UrlUrlUrl Gets the URL that triggered the exception.
Top

Methods

Name Description
Equals(object)Equals(Object)Equals(Object^) Determines whether the specified Object is equal to the current Object. (Inherited from ObjectObjectObject.)
Finalize()Finalize()Finalize() Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ObjectObjectObject.)
GetBaseException()GetBaseException()GetBaseException() When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Inherited from ExceptionExceptionException.)
GetHashCode()GetHashCode()GetHashCode() Serves as a hash function for a particular type. (Inherited from ObjectObjectObject.)
GetObjectData(SerializationInfo, StreamingContext)GetObjectData(SerializationInfo, StreamingContext)GetObjectData(SerializationInfo^, StreamingContext) When overridden in a derived class, sets the SerializationInfo with information about the exception. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext)Exception.GetObjectData(SerializationInfo, StreamingContext)Exception::GetObjectData(SerializationInfo^, StreamingContext).)
GetType()GetType()GetType() Gets the runtime type of the current instance. (Inherited from ExceptionExceptionException.)
MemberwiseClone()MemberwiseClone()MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from ObjectObjectObject.)
ToString()ToString()ToString() Creates and returns a string representation of the current exception. (Inherited from ExceptionExceptionException.)
Top

Events

Name Description
SerializeObjectStateSerializeObjectStateSerializeObjectState Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Inherited from ExceptionExceptionException.)
Top

See Also

Simple.Web.RoutingSimple.Web.RoutingSimple::Web::Routing Namespace