Class StartupException
If this exception is thrown by an startup action, the startup of your application will be terminated. A prerequisite is that your class has the StartupActionAttribute where AwaitStart is true (this is default)
Inheritance
System.Object
StartupException
Namespace:Dapplo.Addons
Assembly:Dapplo.Addons.dll
Syntax
public class StartupException : Exception
Constructors
| Improve this Doc View SourceStartupException(SerializationInfo, StreamingContext)
Make serializazion possible
Declaration
protected StartupException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |
StartupException(String)
Create a StartupException with a message
Declaration
public StartupException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | string |
StartupException(String, Exception)
Create a StartupException with a message and a cause
Declaration
public StartupException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | string |
Exception | innerException | Exception which caused the StartupException |