QueryReceivedEventArgs Class
Provides data for query event.
Syntax
Namespace: WinSCP
C#
public sealed class QueryReceivedEventArgs : EventArgs
VB.NET
Public NotInheritable Class QueryReceivedEventArgs Inherits EventArgs
Properties
Name | Description |
---|---|
string Message | Query message. Read-only. |
Methods
Name | Description |
---|---|
Abort | Abort whole operation, even if it can be resumed. |
Continue | Skip the current problem and continue with the operation. |
Remarks
This class is used by Session.QueryReceived
event.
When handling the method, call Abort
or Continue
methods to control the operation. If you do not call either, the default action is taken, what is abort, unless the operation can be resumed (such as when a connection is lost during file transfer).