Unosquare
    Show / Hide Table of Contents

    Class ProcessResult

    Represents the text of the standard output and standard error of a process, including its exit code.

    Inheritance
    Object
    ProcessResult
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Swan
    Syntax
    public class ProcessResult

    Constructors

    ProcessResult(Int32, String, String)

    Initializes a new instance of the ProcessResult class.

    Declaration
    public ProcessResult(int exitCode, string standardOutput, string standardError)
    Parameters
    Type Name Description
    Int32 exitCode

    The exit code.

    String standardOutput

    The standard output.

    String standardError

    The standard error.

    Properties

    ExitCode

    Gets the exit code.

    Declaration
    public int ExitCode { get; }
    Property Value
    Type Description
    Int32

    The exit code.

    StandardError

    Gets the text of the standard error.

    Declaration
    public string StandardError { get; }
    Property Value
    Type Description
    String

    The standard error.

    StandardOutput

    Gets the text of the standard output.

    Declaration
    public string StandardOutput { get; }
    Property Value
    Type Description
    String

    The standard output.

    Comments

    Back to top Copyright © 2017-2019 Unosquare