Example #1
0
        public JobObject()
        {
            var attr = new SecurityAttributes();

            this.handle = NativeMethods.CreateJobObject(ref attr, null);
        }
 public JobObject()
 {
     var attr = new SecurityAttributes();
     this.handle = CreateJobObject(ref attr, null);
 }
Example #3
0
 internal static extern IntPtr CreateJobObject([In] ref SecurityAttributes jobAttributes, string name);