Was this page helpful?

InvokeInServiceContext Method

    InvokeInServiceContext(string verb, string path, Action handler)

    public Exception InvokeInServiceContext(string verb, string path, Action handler);
    Invoke an action in the context of a service feature.

    Remarks

    Assumes that there exists a current MindTouch.Dream.DreamContext that belongs to a request to another feature of this service.

    Parameters

    Name Type Description
    verb string Http verb.
    path string Feature path.
    handler Action Action to perform in this context.

    Returns

    Type: Exception
    Exception thrown by handler or null.
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by