ServiceBase.ExitCode Właściwość

Definicja

Pobiera lub ustawia kod zakończenia dla usługi.

public:
 property int ExitCode { int get(); void set(int value); };
public int ExitCode { get; set; }
[System.Runtime.InteropServices.ComVisible(false)]
public int ExitCode { get; set; }
member this.ExitCode : int with get, set
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.ExitCode : int with get, set
Public Property ExitCode As Integer

Wartość właściwości

Kod zakończenia usługi.

Atrybuty

Uwagi

ExitCode Ustaw właściwość na wartość inną niż zero przed zatrzymaniem usługi, aby wskazać błąd w Menedżerze sterowania usługami.

Dotyczy