<xml> </xml>

SOLIDWORKS PDM Professional API Help | Send Feedback
IEdmTaskInstance Interface
See Also Members Example

Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C# Language Filter: C++/CLI

EPDM.Interop.epdm Namespace : IEdmTaskInstance Interface

Visual Basic
C#
C++/CLI

Allows you to access the task instance of an add-in.

NOTE: Click the Members link, located near the top of the topic, to see this interface's methods and properties.

# Syntax

Visual Basic |
--- | ---

    Public Interface IEdmTaskInstance

C# |
--- | ---

    public interface IEdmTaskInstance

C++/CLI |
--- | ---

    public interface class IEdmTaskInstance

# Example

Create a Task that Finds Approved Files (VB.NET)
Create a Task that Finds Approved Files (C#)
Create a Task that Finds Files in Workflow States (VB.NET)
Create a Task that Finds Files in Workflow States (C#)

# Remarks

This interface inherits from IDispatch. See IDispatch Interface (Automation).

An instance of the task is created when the task is launched. This interface is created in EdmCmd::mpoExtra when an add-in calls IEdmAddIn5::OnCmd and has previously registered the hooks, EdmCmdType.EdmCmd_TaskRun, EdmCmdType.EdmCmd_TaskLaunch, EdmCmdType.EdmCmd_TaskDetails, using IEdmCmdMgr5::AddHook. After the task launches, IEdmTaskInstance can be used to prompt the user for user-defined variable values, display a data card for editing data card variables, or update the task list messages and progress bar as the task runs.

Programming tasks are add-ins that allow you to specify when and where to perform specific tasks.

The definition of the task can be used to modify the task setup page.

# See Also

####

IEdmTaskInstance Members
EPDM.Interop.epdm Namespace
Task Add-in Sample
Standard Task Add-in
IEdmTaskMgr Interface