Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than Interfaces, prefix the name with the module name and a period.
IScheduledWorkItem (Interfaces)
.
C# Definition:
[Guid("a6b952f0-a4b1-11d0-997d-00aa006887ec"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IScheduledWorkItem
{
int CreateTrigger( out ushort iTrigger,
[MarshalAs(UnmanagedType.IUnknown)] out object trigger);
int DeleteTrigger( ushort iTrigger);
int GetTriggerCount( out ushort iTriggerCount);
int GetTrigger( ushort iTrigger,
[MarshalAs(UnmanagedType.IUnknown)] out object trigger);
int GetTriggerString( ushort iTrigger,
[MarshalAs(UnmanagedType.LPWStr)] out string trigger);
int GetRunTimes( ref SYSTEMTIME pstBegin,
ref SYSTEMTIME pstEnd,
out ushort count,
out SYSTEMTIME rgstTaskTimes);
int GetNextRunTime( ref SYSTEMTIME pstNextRun);
int SetIdleWait( ushort wIdleMinutes,
ushort wDeadlineMinutes);
int GetIdleWait( out ushort wIdleMinutes,
out ushort wDeadlineMinutes);
int Run();
int Terminate( );
int EditWorkItem( IntPtr hParent,
uint dwReserved);
int GetMostRecentRunTime( out SYSTEMTIME pstLastRun);
int GetStatus( out uint hrStatus); //uses WORK_ITEM_STATUS
int GetStatus( out uint hrStatus); //uses SCHED_S_TASK_XXX values
int GetExitCode( out uint dwExitCode);
int SetComment( [MarshalAs(UnmanagedType.LPWStr)] string Comment);
int GetComment( [MarshalAs(UnmanagedType.LPWStr)] out string Comment);
int SetCreator( [MarshalAs(UnmanagedType.LPWStr)] string Creator);
int GetCreator( [MarshalAs(UnmanagedType.LPWStr)] out string Creator);
int SetWorkItemData( ushort cbData, Byte[] rgbData);
int GetWorkItemData( out ushort cbData,out Byte[] rgbData);
int SetErrorRetryCount( ushort wRetryCount);
int GetErrorRetryCount( out ushort wRetryCount);
int SetErrorRetryInterval( ushort wRetryInterval);
int GetErrorRetryInterval( out ushort wRetryInterval);
int SetFlags( uint dwFlags); // uses TASK_FLAGS
int GetFlags(out uint dwFlags); // uses TASK_FLAGS
int SetAccountInformation( [MarshalAs(UnmanagedType.LPWStr)] string AccountName,
[MarshalAs(UnmanagedType.LPWStr)] string PassUInt16);
int GetAccountInformation( [MarshalAs(UnmanagedType.LPWStr)] out string AccountName);
};
<ComImport> _
<Guid("TODO")> _
'TODO: Insert <InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _ if this doesn't derive from IDispatch
Interface IScheduledWorkItem
TODO
End Interface
User-Defined Types:
None.
Notes:
None.
Part of the Task Scheduler 1.0 Interfaces, which consists of IEnumWorkItems, ITask, ITaskScheduler, ITaskTrigger and IScheduledWorkItem. There is some helper code below for actually using the iterator as the marshalling seemed impossible without resorting to the unmanaged helper functions in System.Runtime.InteropServices.Marshal. Not all methods have been tested, so be careful!
11/18/2010 12:43:14 PM - -203.167.226.133
Part of the Task Scheduler 1.0 Interfaces, which consists of IEnumWorkItems, ITask, ITaskScheduler, ITaskTrigger and IScheduledWorkItem. The C# definition contains some helper code. Not all methods have been tested, so be careful!
8/19/2008 5:14:58 PM - -203.167.226.133
Part of the Task Scheduler 1.0 Interfaces, which consists of IEnumWorkItems, ITask, ITaskScheduler, ITaskTrigger and IScheduledWorkItem. There is some helper code below. Not all methods have been tested, so be careful!
4/17/2012 2:17:08 PM - -81.149.190.75
Part of the Task Scheduler 1.0 Interfaces, which consists of IEnumWorkItems, ITask, ITaskScheduler, ITaskTrigger and IScheduledWorkItem. The C# definition contains some helper code. Not all methods have been tested, so be careful!
7/24/2008 4:03:27 PM - -203.167.226.133
Part of the Task Scheduler 1.0 Interfaces, which consists of IEnumWorkItems, ITask, ITaskScheduler, ITaskTrigger and IScheduledWorkItem. Generally this is useless - use ITask (which inherits from IScheduledWorkItem) instead. Not all methods have been tested, so be careful!
Part of the Task Scheduler 1.0 Interfaces, which consists of IEnumWorkItems, ITask, ITaskScheduler, ITaskTrigger and IScheduledWorkItem. The C# definition contains some helper code. Not all methods have been tested, so be careful!
8/19/2008 5:14:58 PM - -203.167.226.133
Part of the Task Scheduler 1.0 Interfaces, which consists of IEnumWorkItems, ITask, ITaskScheduler, ITaskTrigger and IScheduledWorkItem. Generally this is useless - use ITask (which inherits from IScheduledWorkItem) instead. Not all methods have been tested, so be careful!