A Sandcastle Documented Class Library

# ICallerContextService CloneAndSetCurrentContext Method

Clones the provided caller context and associates it with the current caller.

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

    CallerContext CloneAndSetCurrentContext(
    	CallerContext contextToClone
    )

    Function CloneAndSetCurrentContext (
    	contextToClone As CallerContext
    ) As CallerContext

    CallerContext^ CloneAndSetCurrentContext(
    	CallerContext^ contextToClone
    )

    abstract CloneAndSetCurrentContext :
            contextToClone : CallerContext -> CallerContext

#### Parameters

contextToClone
  Type: Dundas.BI
  CallerContext
  The context object to clone.

#### Return Value

Type: CallerContext
The created context object.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | contextToClone is .

See Also

#### Reference

ICallerContextService Interface
Dundas.BI Namespace