ProcessStartInfo.StartSuspended 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
프로세스를 일시 중단된 상태로 시작해야 하는지 여부를 나타내는 값을 가져오거나 설정합니다.
public:
property bool StartSuspended { bool get(); void set(bool value); };
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
[System.Runtime.Versioning.SupportedOSPlatform("macos")]
public bool StartSuspended { get; set; }
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
[<System.Runtime.Versioning.SupportedOSPlatform("macos")>]
member this.StartSuspended : bool with get, set
Public Property StartSuspended As Boolean
속성 값
true프로세스를 일시 중단해야 하는 경우 그렇지 않으면 . false 기본값은 false입니다.
- 특성
설명
이 속성이 있으면 true프로세스가 주 스레드가 일시 중단된 상태로 만들어집니다. 프로세스 핸들(예: 반환된 Start(ProcessStartInfo)핸들)에서 호출될 때까지 Resume() 프로세스가 실행을 시작하지 않습니다.
Windows 프로세스는 CREATE_SUSPENDED 플래그로 시작됩니다.
macOS에서 프로세스는 플래그로 POSIX_SPAWN_START_SUSPENDED 시작됩니다.
이 속성은 다음으로 설정된 true상태에서 UseShellExecute 함께 사용할 수 없습니다.