Open this page in the API Guide

ApiControllerBase.EnsureCallerContext Method

If the current context is not already the specified context, creates a new caller context which is a clone of the specified context and sets it as the current one.

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax
protected CallerContext? EnsureCallerContext(
	CallerContext originalContext
)

Parameters

originalContext
Type: Dundas.BI.CallerContext
The original caller context which will potentially be cloned.

Return Value

Type: CallerContext
The caller context that is created, or null if cloning the context was not necessary.
See Also