StauffConsulting.Essentials.| C#: |
public class AppExitCode :
object
|
| VB: |
Public Class AppExitCode
Inherits Object
|
| Type Ancestry: | Object |
AppExitCode |
constructor |
static | AppExitCode> |
AllExitCodes |
A list of all the exit code objects that have been instantiated |
readonly | string |
Description |
A description of the exit code |
readonly | bool |
IsError |
Indicates whether the exit code indicates an error |
readonly | int |
Value |
The integer value for the exit code; what gets returned by the application |
DisplayAndReturn |
Displays this error code's description, exits the application, and returns this error code |
Return |
Exits the application and returns this error code |
| C#: |
AppExitCode (int value,
bool isError,
string description)
|
| VB: |
Sub New(ByVal value As Integer, ByVal isError As Boolean, ByVal description As String)
|
Parameters
value | |
isError | |
description |
| C#: |
readonly static System.Collections.Generic.SortedList
|
| VB: |
ReadOnly Shared AllExitCodes As System.Collections.Generic.SortedList(Of Integer, StauffConsulting.Essentials.AppExitCode)
|
| C#: |
readonly string Description;
|
| VB: |
ReadOnly Description As String
|
| C#: |
readonly bool IsError;
|
| VB: |
ReadOnly IsError As Boolean
|
| C#: |
readonly int Value;
|
| VB: |
ReadOnly Value As Integer
|
| C#: |
Void DisplayAndReturn()
|
| VB: |
Function DisplayAndReturn() As Void
|
| C#: |
Void Return()
|
| VB: |
Function [Return]() As Void
|