Coree.NETStandard
  • API
Show / Hide Table of Contents
  • Coree.NETStandard.Abstractions.DependencySingleton
    • DependencySingleton<T>
    • IDependencySingleton
  • Coree.NETStandard.Abstractions.FluentBase
    • FluentBase
    • IFluentBase <<<<<<< HEAD =======
  • Coree.NETStandard.Abstractions.ServiceFactory
    • ServiceFactory<T>
  • Coree.NETStandard.Classes.AsyncEventCollection
    • AsyncEventCollection<T>
    • AsyncEventCollection<T>.CustomEventDelegate
  • Coree.NETStandard.Classes.Criteria
    • CriteriaComparisonMethod
    • CriteriaEnumerableExtensions
    • CriteriaExpressionBuilder
    • CriteriaItem<TValue>
    • CriteriaItems
    • CriteriaOperator
    • CriteriaQueryableExtensions
  • Coree.NETStandard.Classes.Scheduler
    • Scheduler
    • Scheduler.TickerEventArgs
    • Scheduler.TickerEventDelegate
  • Coree.NETStandard.Classes.ThreadSafeCollection
    • ThreadSafeCollection<T>
  • Coree.NETStandard.Classes.ThreadSafeValue
    • ThreadSafeValue<T>
  • Coree.NETStandard.Classes.TimeOfDay
    • TimeOfDay >>>>>>> release
  • Coree.NETStandard.Abstractions.ServiceFactory
    • ServiceFactory<T>
  • <<<<<<< HEAD Coree.NETStandard.Classes.AsyncEventCollection
    • AsyncEventCollection<T>
    • AsyncEventCollection<T>.CustomEventDelegate
  • Coree.NETStandard.Classes.Criteria
    • CriteriaComparisonMethod ======= Coree.NETStandard.Extensions.Collections.Enumerable
      • CollectionsEnumerableExtensions
    • Coree.NETStandard.Extensions.Collections.List
      • CollectionsListExtensions
    • Coree.NETStandard.Extensions.Conversions.ByteArray
      • ConversionsByteArrayExtensions
    • Coree.NETStandard.Extensions.Conversions.HostApplicationBuilder
      • ConversionsHostApplicationBuilderExtensions
    • Coree.NETStandard.Extensions.Conversions.String
      • ConversionsStringExtensions
      • Encodings >>>>>>> release
    • Coree.NETStandard.Extensions.Conversions.Stringbuilder
      • <<<<<<< HEAD CriteriaEnumerableExtensions ======= ConversionsStringbuilderExtension >>>>>>> release
    • Coree.NETStandard.Extensions.Primitives.Bool
      • <<<<<<< HEAD CriteriaExpressionBuilder ======= PrimitivesBoolExtensions >>>>>>> release
    • Coree.NETStandard.Extensions.Reflection.ServiceProvider
      • <<<<<<< HEAD CriteriaItem<TValue> ======= ReflectionServiceProviderExtensions >>>>>>> release
    • Coree.NETStandard.Extensions.Threading.CancellationToken
      • <<<<<<< HEAD CriteriaItems ======= ThreadingCancellationTokenExtensions >>>>>>> release
    • Coree.NETStandard.Extensions.Utilities
      • <<<<<<< HEAD CriteriaOperator ======= DateTimeExtensions >>>>>>> release
    • Coree.NETStandard.Extensions.Validations.String
      • <<<<<<< HEAD CriteriaQueryableExtensions
    • Coree.NETStandard.Classes.HttpRequestService
      • ContentComposer
      • HttpRequestHeadersExtensions
      • HttpRequestService
      • HttpRequestServiceHandler
      • HttpRequestServiceUriExtensions
      • ServiceCollectionExtensions
      • TransactionRecord
    • Coree.NETStandard.Classes.ThreadSafeCollection
      • ThreadSafeCollection<T>
    • Coree.NETStandard.Classes.ThreadSafeValue
      • ThreadSafeValue<T>
    • Coree.NETStandard.Classes.TimeOfDay
      • TimeOfDay
    • Coree.NETStandard.Extensions.Collections.Enumerable
      • CollectionsEnumerableExtensions
    • Coree.NETStandard.Extensions.Collections.List
      • CollectionsListExtensions
    • Coree.NETStandard.Extensions.Conversions.ByteArray
      • ConversionsByteArrayExtensions
    • Coree.NETStandard.Extensions.Conversions.HostApplicationBuilder
      • ConversionsHostApplicationBuilderExtensions
    • Coree.NETStandard.Extensions.Conversions.String
      • ConversionsStringExtensions
      • Encodings
    • Coree.NETStandard.Extensions.Conversions.Stringbuilder
      • ConversionsStringbuilderExtension
    • Coree.NETStandard.Extensions.Http.HttpHeader
      • HttpHeadersExtensions
    • Coree.NETStandard.Extensions.Primitives.Bool
      • PrimitivesBoolExtensions
    • Coree.NETStandard.Extensions.Reflection.ServiceProvider
      • ReflectionServiceProviderExtensions
    • Coree.NETStandard.Extensions.Threading.CancellationToken
      • ThreadingCancellationTokenExtensions
    • Coree.NETStandard.Extensions.Utilities
      • DateTimeExtensions
    • Coree.NETStandard.Extensions.Validations.String
      • ======= >>>>>>> release ValidationsStringExtensions
    • Coree.NETStandard.HostedServicesCollection
      • HostedServicesCollectionConfig<T>
      • IHostedServicesCollectionConfig<T>
      • ServiceCollectionExtensions
      • ServiceProviderExtensions
    • Coree.NETStandard.Serilog
      • ConditionalLevelSink
      • LoggerSinkConfigurationExtensions
      • OutputTemplates
      • ServiceCollectionExtensions
      • SourceContextShortEnricher
    • Coree.NETStandard.Services.DebugService
      • <<<<<<< HEAD DebugService
      • IDebugService ======= IRuntimeInsightsx
      • RuntimeInsightsServicex >>>>>>> release
    • Coree.NETStandard.Services.FileService
      • FileService
      • IFileService
    • Coree.NETStandard.Services.Process
      • IProcessService
      • ProcessRunExitCodeState
      • ProcessRunResult
      • ProcessService
    • Coree.NETStandard.Services.RuntimeInsightsService
      • IRuntimeInsightsService
      • RuntimeInsightsService
    • Coree.NETStandard.SpectreConsole
      • CommandAppExtensions
      • HostBuilderExtensions
      • ServiceCollectionExtensions
      • SpectreConsoleHostedService
      • SpectreConsoleHostedService.ExitCode
      • SpectreConsoleTypeRegistrar
      • SpectreConsoleTypeResolver
    • Coree.NETStandard.UnderConstruction
      • DbContextExtensions
      • HttpClientStatic
      • HttpClientStatic.HttpClientResponse
      • HttpClientStatic.XRate
      • HttpClientStatic.XRateGroup
      • HttpClientStatic.XRateItem
      • IScheduleProvider
      • IntervalScheduleProvider
      • LimitedHistory<T>
      • ScheduleCombiner
      • <<<<<<< HEAD Scheduler
      • Scheduler.TickerEventArgs
      • Scheduler.TickerEventDelegate
      • ======= >>>>>>> release Scheduler2
      • Scheduler2.TickerEventArgs
      • Scheduler2.TickerEventDelegate
      • Scheduler3
      • Scheduler3.TickerEventArgs
      • Scheduler3.TickerEventDelegate
      • SqlliteMemoryContext
      • SqlliteMemoryContext.UserDataDto
      • TimedEntry<T>
      • Timing
      • Timing.Ticker
      • Timing.Ticker.TickerEventArgs
      • Timing.TickerSync
      • WeekDayAtScheduleProvider
    • Coree.NETStandard.Utilities
      • EventSubscription
      • MainContext

Enum ProcessRunExitCodeState

Represents various outcome states for process execution operations within the service. This enum is designed to be flexible and applicable to a range of process-related methods, providing a standardized way to communicate success, failure, and other states across different types of process executions.

Namespace: Coree.NETStandard.Services.Process
Assembly: Coree.NETStandard.dll
Syntax
[Flags]
public enum ProcessRunExitCodeState

Fields

Name Description
IsCanceledSet

Indicates the operation was canceled, either through user action or a timeout. This state reflects an intentional interruption of the process before completion.

IsFailedStart

Indicates the process failed to start, which could result from various issues such as executable not found, insufficient permissions, or invalid arguments.

IsValid

Indicates a valid exit code has been set, suggesting the process has concluded and an outcome is available for evaluation. This state is intended to signify the end of an operation, whether successful or not.

IsValidErrorCode

Indicates the process ran but completed with an error, typically represented by a non-zero exit code. This state signifies an unsuccessful execution according to the process's own criteria.

IsValidSuccess

Indicates a successful execution where the process completed as expected without any errors, typically represented by an exit code of 0.

None

The default state, indicating no specific outcome has been determined. This state is used before an operation is performed or when an operation's outcome does not fit any other defined state.

  • <<<<<<< HEAD Edit this page
  • View Source ======= Edit this page
  • View Source >>>>>>> release
In this article
Back to top