Class ProcessSessionSnapshot
Snapshot of a managed process session.
public sealed record ProcessSessionSnapshot : IEquatable<ProcessSessionSnapshot>
- Inheritance
-
ProcessSessionSnapshot
- Implements
- Inherited Members
Constructors
ProcessSessionSnapshot(string, string, string, string?, bool, string, ProcessSessionStatus, int?, int?, string?, DateTimeOffset, DateTimeOffset?, int, int)
Snapshot of a managed process session.
public ProcessSessionSnapshot(string SessionId, string ScopeKey, string Command, string? WorkingDirectory, bool Pty, string Host, ProcessSessionStatus Status, int? ProcessId, int? ExitCode, string? FailureReason, DateTimeOffset StartedAtUtc, DateTimeOffset? EndedAtUtc, int StdoutChars, int StderrChars)
Parameters
SessionIdstringScopeKeystringCommandstringWorkingDirectorystringPtyboolHoststringStatusProcessSessionStatusProcessIdint?ExitCodeint?FailureReasonstringStartedAtUtcDateTimeOffsetEndedAtUtcDateTimeOffset?StdoutCharsintStderrCharsint
Properties
Command
public string Command { get; init; }
Property Value
EndedAtUtc
public DateTimeOffset? EndedAtUtc { get; init; }
Property Value
ExitCode
public int? ExitCode { get; init; }
Property Value
- int?
FailureReason
public string? FailureReason { get; init; }
Property Value
Host
public string Host { get; init; }
Property Value
ProcessId
public int? ProcessId { get; init; }
Property Value
- int?
Pty
public bool Pty { get; init; }
Property Value
ScopeKey
public string ScopeKey { get; init; }
Property Value
SessionId
public string SessionId { get; init; }
Property Value
StartedAtUtc
public DateTimeOffset StartedAtUtc { get; init; }
Property Value
Status
public ProcessSessionStatus Status { get; init; }
Property Value
StderrChars
public int StderrChars { get; init; }
Property Value
StdoutChars
public int StdoutChars { get; init; }
Property Value
WorkingDirectory
public string? WorkingDirectory { get; init; }