Creates a memory container for managing jobs in a format compatible with VCOverride. This class is not thread-safe.

Examples

General usage:
CopyC#
// Initialize jom manager
// 
VirtualJobManager jobManager = new VirtualJobManager();
VC.Override.Attach(jobManager);

try
{
    // Run tested method here, like
    // 
    JobInfo jobInfo = MyClass.SubmitReportJob();

    // Manipulate job status
    // 
    jobManager.StartJob(jobInfo.ID);

    // Run other tested method
    // 
    MyClass.CancelReportJobs(new JobInfo[] { jobInfo });

    ...
}
finally
{
    VC.Override.Clear();
}

Namespace: VcClient.Test
Assembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)

Syntax

C#
public class VirtualJobManager
Visual Basic
Public Class VirtualJobManager
Visual C++
public ref class VirtualJobManager

Inheritance Hierarchy

Object
  VcClient.Test..::..VirtualJobManager

See Also