Process.Signal(PosixSignal) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
연결된 프로세스에 신호를 보냅니다.
public:
bool Signal(System::Runtime::InteropServices::PosixSignal signal);
[System.Runtime.Versioning.SupportedOSPlatform("maccatalyst")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public bool Signal(System.Runtime.InteropServices.PosixSignal signal);
[<System.Runtime.Versioning.SupportedOSPlatform("maccatalyst")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
member this.Signal : System.Runtime.InteropServices.PosixSignal -> bool
Public Function Signal (signal As PosixSignal) As Boolean
매개 변수
- signal
- PosixSignal
보낼 신호입니다.
반품
- 특성
예외
이 개체와 연결된 프로세스가 없거나 프로세스 핸들이 잘못되었습니다.
프로세스 개체가 삭제되었습니다.
프로세스는 원격 컴퓨터에 있습니다.
현재 플랫폼 또는 지정된 신호는 지원되지 않습니다.
신호를 보낼 수 없습니다.
설명
Windows 경우에만 SIGKILL 지원되며 전송하면 프로세스가 종료됩니다. 프로세스 핸들에 액세스 권한이 PROCESS_TERMINATE 있어야 합니다.