TeamFoundationTask Constructor (TeamFoundationTaskCallback, Object, DateTime, 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, _
startTime As DateTime, _
interval As Integer _
)
public TeamFoundationTask(
TeamFoundationTaskCallback callback,
Object taskArgs,
DateTime startTime,
int interval
)
public:
TeamFoundationTask(
TeamFoundationTaskCallback^ callback,
Object^ taskArgs,
DateTime startTime,
int interval
)
new :
callback:TeamFoundationTaskCallback *
taskArgs:Object *
startTime:DateTime *
interval:int -> TeamFoundationTask
public function TeamFoundationTask(
callback : TeamFoundationTaskCallback,
taskArgs : Object,
startTime : DateTime,
interval : int
)
Parameters
callback
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationTaskCallbackThe callback that should be invoked when the task is executed
taskArgs
Type: System.ObjectThe arguments to pass to the task callback when it is invoked
startTime
Type: System.DateTimeThe first time the task should run.
interval
Type: System.Int32The interval for the task in milliseconds.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.