[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Inserts a user task. Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim instance As IUserSettingsManagement
Dim userTask As UserTask

instance.InsertUserTask(userTask)

Syntax

Visual Basic
Sub InsertUserTask ( _
		userTask As UserTask _
)
C#
void InsertUserTask (
		UserTask userTask
)
C++
void InsertUserTask (
		UserTask^ userTask
)
J#
void InsertUserTask (
		UserTask userTask
)
JScript
function InsertUserTask (
		userTask : UserTask
)

Parameters

userTask

Type: UserTask

The user task.

Exceptions

Exception type Condition
ArgumentNullException

The userTask parameter is a null reference (Nothing in Visual Basic).

ObjectAlreadyExistsException

The UserTask already exists.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also