Share via


TaxonomyNavigationContext class

Reports information about processing the TaxonomyNavigation feature during the current HTTP request.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Publishing.Navigation.TaxonomyNavigationContext

Namespace:  Microsoft.SharePoint.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class TaxonomyNavigationContext
'Usage
Dim instance As TaxonomyNavigationContext
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class TaxonomyNavigationContext

Remarks

This class has a global instance (the Current() property for each thread of an HTTP request that is similar to the Current property. It exposes information about whether the current HTTP request involved a friendly URL or a catalog friendly URL, and which NavigtionTerm() property was used to define it.

The Current property is registered in the HttpContext table.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

TaxonomyNavigationContext members

Microsoft.SharePoint.Publishing.Navigation namespace