A Sandcastle Documented Class Library

# ICallerContextService TryGetCurrentContext Method

Gets the active caller context.

Namespace: Dundas.BI
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    bool TryGetCurrentContext(
    	out CallerContext callerContext
    )

    Function TryGetCurrentContext (
    	<OutAttribute> ByRef callerContext As CallerContext
    ) As Boolean

    bool TryGetCurrentContext(
    	[OutAttribute] CallerContext^% callerContext
    )

    abstract TryGetCurrentContext :
            callerContext : CallerContext byref -> bool

#### Parameters

callerContext
  Type: Dundas.BI
  CallerContext
  When this method returns, contains the context associated with the caller, if there is one; otherwise,
  . This parameter is passed uninitialized.

#### Return Value

Type: Boolean
if there is a valid context associated with the caller; otherwise,
.
See Also

#### Reference

ICallerContextService Interface
Dundas.BI Namespace