Class RoutingEventArgs

Arument used during content routing.

Inheritance
System.Object
System.EventArgs
RoutingEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.Routing
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class RoutingEventArgs : EventArgs

Constructors

RoutingEventArgs(SegmentContext)

Initializes a new instance of the RoutingEventArgs class.

Declaration
public RoutingEventArgs(SegmentContext segmentContext)
Parameters
Type Name Description
SegmentContext segmentContext

The segment context.

Properties

CancelFurtherRouting

Gets or sets a value indicating whether further routing should be cancelled.

Declaration
public bool CancelFurtherRouting { get; set; }
Property Value
Type Description
System.Boolean

true if further routing should be cancelled; otherwise, false.

Remarks

This can be used e.g. if RoutedContentLink has been set on RoutingSegmentContext and no further routing is needed.

RoutingSegmentContext

Gets the routing segment context.

Declaration
public SegmentContext RoutingSegmentContext { get; }
Property Value
Type Description
SegmentContext

The routing segment context.

Extension Methods