CallerContextServiceCreateAndSetCurrentContext 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.3.0.1000)
Syntaxpublic CallerContext CreateAndSetCurrentContext(
	Guid? sessionId
)
Public Function CreateAndSetCurrentContext ( 
	sessionId As Guid?
) As CallerContext
public:
virtual CallerContext^ CreateAndSetCurrentContext(
	Nullable<Guid> sessionId
) sealed
abstract CreateAndSetCurrentContext : 
        sessionId : Nullable<Guid> -> CallerContext 
override CreateAndSetCurrentContext : 
        sessionId : Nullable<Guid> -> CallerContext Parameters
- sessionId
 - Type: SystemNullableGuid
              The ID of the session to be associated with the caller; or 
              to indicate that no session should be associated.
             
Return Value
Type: 
CallerContextThe object representing the current caller context.
Implements
ICallerContextServiceCreateAndSetCurrentContext(NullableGuid)
Exceptions
See Also