DocumentUrlContextManager.EndScope Method

Namespace
Kampute.DocToolkit.Routing
Assembly
  • Kampute.DocToolkit.dll

Definition

Ends the current URL context and restores the previous context.
protected void EndScope(DocumentUrlContextManager.UrlContext scope)

Parameters

scope DocumentUrlContextManager.UrlContext
The URL context scope to end.

Exceptions

InvalidOperationException
Thrown when the specified scope is not the current active scope.