Open this page in the API Guide

CallerContextService.CreateAndSetCurrentContext Method

Creates a new context object and associates it with the current caller.

Namespace:  Dundas.BI.Services
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax
public CallerContext CreateAndSetCurrentContext(
	Guid? sessionId
)

Parameters

sessionId
Type: System.Nullable<Guid>
The ID of the session to be associated with the caller; or null to indicate that no session should be associated.

Return Value

Type: CallerContext
The object representing the current caller context.

Implements

ICallerContextService.CreateAndSetCurrentContext(Nullable<Guid>)
Exceptions
ExceptionCondition
ArgumentExceptionsessionId is Empty.
See Also