Class UnattendedInstallException
An exception that is thrown if an unattended installation occurs.
Inheritance
Namespace: Umbraco.Cms.Core.Exceptions
Assembly: Umbraco.Core.dll
Syntax
public class UnattendedInstallException : Exception
Constructors
View SourceUnattendedInstallException()
Initializes a new instance of the UnattendedInstallException class.
Declaration
public UnattendedInstallException()
UnattendedInstallException(SerializationInfo, StreamingContext)
Initializes a new instance of the UnattendedInstallException class.
Declaration
protected UnattendedInstallException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
UnattendedInstallException(String)
Initializes a new instance of the UnattendedInstallException class with a specified error message.
Declaration
public UnattendedInstallException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
UnattendedInstallException(String, Exception)
Initializes a new instance of the UnattendedInstallException class with a specified error message and a reference to the inner exception which is the cause of this exception.
Declaration
public UnattendedInstallException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
Exception | innerException | The inner exception, or null. |