company logo

BaseContext :: defaultContext - Is context default context

The function returns, whether the current context is a default context, i.e. when it is an instance of one of the system context classes. Defaultcontext instances are created, when context is disabled for the application or when no context class has been assigned to the resource the context is managing.

When the context handle does not refer to a valid context instance the property throws an exception.

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation details

bool BaseContext  :: defaultContext (  )

The function returns true, when the context instance is a default context instance and false otherwise.