A Sandcastle Documented Class Library

# ICallerContextService CreateContext Method

Creates a context object initialized with a session ID.

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 CreateContext(
    	Guid? sessionId
    )

    Function CreateContext (
    	sessionId As Guid?
    ) As CallerContext

    CallerContext^ CreateContext(
    	Nullable<Guid> sessionId
    )

    abstract CreateContext :
            sessionId : Nullable<Guid> -> CallerContext

#### Parameters

sessionId
  Type: System
  Nullable
  Guid
  The ID of the session to be associated with the created context; or
  to indicate that no session should be associated.

#### Return Value

Type: CallerContext
An object representing a caller context.
Exceptions

Exception | Condition
--- | ---
ArgumentException | sessionId is Empty.

See Also

#### Reference

ICallerContextService Interface
Dundas.BI Namespace