Class ExitCodeException
Namespace: NanoByte.Common
Assembly: NanoByte.Common.dll
Syntax
public sealed class ExitCodeException : IOException
Constructors
ExitCodeException()
Declaration
public ExitCodeException()
ExitCodeException(Process)
Creates a new exit code exception.
Declaration
public ExitCodeException(Process process)
Parameters
Type | Name | Description |
---|---|---|
Process | process | The process that has exited. |
ExitCodeException(String)
Declaration
public ExitCodeException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message |
ExitCodeException(String, Exception)
Declaration
public ExitCodeException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | |
Exception | innerException |
ExitCodeException(String, Int32)
Creates a new exit code exception.
Declaration
public ExitCodeException(string message, int exitCode)
Parameters
Type | Name | Description |
---|---|---|
String | message | The exception message. |
Int32 | exitCode | The ExitCode. |
Properties
ExitCode
The ExitCode.
Declaration
public int ExitCode { get; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |