createContext

Creates a new context object with the specified handler.