Skip to content

ContextException

Abstract base for exceptions that signal a UI/view context problem (missing, invalid, disabled), carrying the target view name and an optional model for the handler to act on.

Purpose

  • Abstract base for exceptions that signal a UI/view context problem (missing, invalid, disabled), carrying the target view name and an optional model for the handler to act on.

Context

  • Namespace: SAIF.Common.Classes
  • Assembly/package: SAIF.Framework.Common

Public members

Member Signature Purpose
TargetView public string TargetView { get; set; } The name of the view the framework should redirect to in response to this exception.
Model public object Model { get; set; } An optional model object the target view can use when rendering the fallback.

Sources

  • Common/SAIF.Common/Classes/ContextException.cs