Class ActionResult
The result of an action
Inherited Members
Namespace:FubarDev.WebDavServer.Engines
Assembly:FubarDev.WebDavServer.dll
Syntax
public class ActionResult
Constructors
| Improve this Doc View SourceActionResult(ActionStatus, ITarget)
Initializes a new instance of the ActionResult class.
Declaration
public ActionResult(ActionStatus status, [NotNull] ITarget target)
Parameters
Type | Name | Description |
---|---|---|
ActionStatus | status | The status of the action |
ITarget | target | The element this status is for |
Properties
| Improve this Doc View SourceException
Gets or sets the exception that occurred during the execution of the action
Declaration
[CanBeNull]
public Exception Exception { get; set; }
Property Value
Type | Description |
---|---|
Exception |
FailedProperties
Gets or sets the names of properties that couldn't be set.
Declaration
[CanBeNull]
[ItemNotNull]
public IReadOnlyCollection<XName> FailedProperties { get; set; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<XName> |
Href
Gets or sets the destination URL for the Target
Declaration
[NotNull]
public Uri Href { get; set; }
Property Value
Type | Description |
---|---|
Uri |
IsFailure
Gets a value indicating whether the action failed
Declaration
public bool IsFailure { get; }
Property Value
Type | Description |
---|---|
Boolean |
Status
Gets the status of the action
Declaration
public ActionStatus Status { get; }
Property Value
Type | Description |
---|---|
ActionStatus |
Target
Gets the target entry this action status is for
Declaration
[NotNull]
public ITarget Target { get; }
Property Value
Type | Description |
---|---|
ITarget |