Class CleanFolderResult.Error
Represents an error that occurred while cleaning a folder.
Inheritance
object
Namespace: Umbraco.Cms.Core.IO
Assembly: Umbraco.Core.dll
Syntax
public class CleanFolderResult.Error
Constructors
View SourceError(Exception, FileInfo)
Initializes a new instance of the CleanFolderResult.Error class.
Declaration
public Error(Exception exception, FileInfo erroringFile)
Parameters
| Type | Name | Description |
|---|---|---|
| Exception | exception | The exception that occurred. |
| FileInfo | erroringFile | The file that caused the error. |
Properties
View SourceErroringFile
Gets or sets the file that caused the error.
Declaration
public FileInfo ErroringFile { get; set; }
Property Value
| Type | Description |
|---|---|
| FileInfo |
Exception
Gets or sets the exception that occurred.
Declaration
public Exception Exception { get; set; }
Property Value
| Type | Description |
|---|---|
| Exception |