InvokeAndWait(IQueryContext, IProgressMonitor, string, string)

Query which will return an extension api provide the extension's id and name The caller is blocked until execution finishes. Use this form when progress tracking is needed. Use this form to pass a command or query context.

Declaration Syntax

public static ExtensionAPI InvokeAndWait(IQueryContext context, IProgressMonitor progressMonitor, string ExtensionId, string ExtensionName)

Parameters

context(IQueryContext)

The context in which to invoke the command

progressMonitor(IProgressMonitor)

A progress monitor through which the command may report its progress

ExtensionId(string)

Id of the extension (ShortId or GUID) This parameter is required, and may not be null.

ExtensionName(string)

Name of the extension This parameter is required, and may not be null.