Delen via


TeamFoundationTask Constructor (TeamFoundationTaskCallback, Object, Int32)

Creates a TeamFoundationTask with the specified arguments

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub New ( _
    callback As TeamFoundationTaskCallback, _
    taskArgs As Object, _
    interval As Integer _
)
public TeamFoundationTask(
    TeamFoundationTaskCallback callback,
    Object taskArgs,
    int interval
)
public:
TeamFoundationTask(
    TeamFoundationTaskCallback^ callback, 
    Object^ taskArgs, 
    int interval
)
new : 
        callback:TeamFoundationTaskCallback * 
        taskArgs:Object * 
        interval:int -> TeamFoundationTask
public function TeamFoundationTask(
    callback : TeamFoundationTaskCallback, 
    taskArgs : Object, 
    interval : int
)

Parameters

  • taskArgs
    Type: System.Object

    The arguments to pass to the task callback when it is invoked

  • interval
    Type: System.Int32

    The interval for the task in milliseconds.

.NET Framework Security

See Also

Reference

TeamFoundationTask Class

TeamFoundationTask Overload

Microsoft.TeamFoundation.Framework.Server Namespace