Share via


StatusCreateTaskPreEventArgs Constructor

Creates an instance of the StatusCreateTaskPreEventArgs class; used internally.

Namespace:  Microsoft.Office.Project.Server.Events
Assembly:  Microsoft.Office.Project.Server.Events.Receivers (in Microsoft.Office.Project.Server.Events.Receivers.dll)

Syntax

'Declaration
Public Sub New ( _
    taskname As String, _
    projectguid As Guid, _
    sumtaskguid As Guid, _
    taskguid As Guid, _
    assnguid As Guid, _
    startdate As DateTime, _
    finishdate As DateTime, _
    comment As String _
)
'Usage
Dim taskname As String
Dim projectguid As Guid
Dim sumtaskguid As Guid
Dim taskguid As Guid
Dim assnguid As Guid
Dim startdate As DateTime
Dim finishdate As DateTime
Dim comment As String

Dim instance As New StatusCreateTaskPreEventArgs(taskname, _
    projectguid, sumtaskguid, taskguid, _
    assnguid, startdate, finishdate, _
    comment)
public StatusCreateTaskPreEventArgs(
    string taskname,
    Guid projectguid,
    Guid sumtaskguid,
    Guid taskguid,
    Guid assnguid,
    DateTime startdate,
    DateTime finishdate,
    string comment
)

Parameters

  • projectguid
    Type: System.Guid
    The GUID of the project.
  • sumtaskguid
    Type: System.Guid
    The GUID of the summary task (phase).
  • taskguid
    Type: System.Guid
    The GUID of the created task.
  • assnguid
    Type: System.Guid
    The GUID of the assignment of a resource to a task.
  • startdate
    Type: System.DateTime
    The start date of the work done for the task.
  • finishdate
    Type: System.DateTime
    The end date of the work done for the task.
  • comment
    Type: System.String
    The comment to send with a task assignment.

See Also

Reference

StatusCreateTaskPreEventArgs Class

StatusCreateTaskPreEventArgs Members

Microsoft.Office.Project.Server.Events Namespace