Show / Hide Table of Contents

Class ParentProcessAttribute

Specifies the parent process to use when creating a new process.

Inheritance
System.Object
CreateProcessAttributeList.CreateProcessAttribute
ParentProcessAttribute
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Fs.Processes
Assembly: Fs.Processes.dll
Syntax
public class ParentProcessAttribute : CreateProcessAttributeList.CreateProcessAttribute

Constructors

| Improve this Doc View Source

ParentProcessAttribute(SafeProcessHandle)

Creates a new instance of the ParentProcessAttribute class.

Declaration
public ParentProcessAttribute(SafeProcessHandle processHandle)
Parameters
Type Name Description
Microsoft.Win32.SafeHandles.SafeProcessHandle processHandle

The handle of the process to use as the parent of the newly created process.

Remarks

The ParentProcessAttribute instance does not take ownership of the processHandle handle. It is the caller's responsibility to ensure the handle remains valid until it is no longer needed and to eventually dispose of the handle.

Properties

| Improve this Doc View Source

Handle

Gets the handle of the process to use as the parent of the newly created process.

Declaration
public SafeProcessHandle Handle { get; }
Property Value
Type Description
Microsoft.Win32.SafeHandles.SafeProcessHandle
  • Improve this Doc
  • View Source
Back to top Generated by DocFX