ProblemDetectedEventArgs Class
Namespace: Rebex.IO
Assembly: Rebex.Common.dll (version 7.0.9448)
Provides data for the ProblemDetected event.
Syntax
public class ProblemDetectedEventArgs : EventArgs
Inheritance
Inherited Members
Constructors
| Name | Description |
|---|---|
| ProblemDetectedEventArgs(Object) | Initializes a new instance of the ProblemDetectedEventArgs class (for internal use only). |
Properties
| Name | Description |
|---|---|
| Action | Gets the current transfer action. |
| Exception | Gets the exception which will be raised if chosen Reaction is Fail. |
| LocalItem | Gets the local file or directory that is currently processed or null (Nothing in Visual Basic) if not available. |
| LocalPath | Gets the path of the local file or directory that is currently processed. |
| NewName | Gets the new name for the currently processed file or directory. If the chosen reaction is not Rename, this property is ignored. |
| OverwriteCondition | Gets the condition to apply for the Overwrite reaction. If the chosen reaction is not Overwrite, this property is ignored. |
| ProblemType | Gets the type of the error that classifies the problem. |
| Reaction | Gets the currently selected reaction to the current problem. |
| RemoteItem | Gets the remote file or directory that is currently processed or null (Nothing in Visual Basic) if not available. |
| RemotePath | Gets the path of the remote file or directory that is currently processed. |
| UserState | Gets a user state object. |
Methods
| Name | Description |
|---|---|
| Cancel() | Indicate to the sender that the operation should be canceled. |
| Fail() | Indicate to the sender that an exception should be raised. |
| FollowLink() | Indicate to the sender that the current link should be resolved. |
| IsOverwriteConditionPossible(OverwriteCondition) | Determines whether the specified overwrite condition is currently possible - use this to determine which overwrite conditions can be applied. |
| IsReactionPossible(TransferProblemReaction) | Determines whether the specified reaction is currently possible - use this to determine which reactions can be applied. |
| Overwrite() | Indicate to the sender that the current item should be overwritten. |
| Overwrite(OverwriteCondition) | Indicate to the sender that the current item should be overwritten if the specified condition is met. |
| Rename() | Indicate to the sender that the current item should be renamed. New name is generated from the current item according the pattern "filename[number].extension". |
| Rename(String) | Indicate to the sender that the current item should be renamed. |
| Resume() | Indicate to the sender that the current item should be resumed. |
| Retry() | Indicate to the sender that the operation on the current item should be retired. |
| Skip() | Indicate to the sender that the problematic item should be skipped. |