The SmtpTransferProgressEventArgs type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() ![]() | SmtpTransferProgressEventArgs(SmtpTransferState, Int64, Int32) |
Initializes a new instance of the SmtpTransferProgressEventArgs class with the specified state,
number of bytes transferred during the current transfer and progress since the last time the event was raised.
|
![]() ![]() | SmtpTransferProgressEventArgs(SmtpTransferState, Int64, Int32, Int64) |
Initializes a new instance of the SmtpTransferProgressEventArgs class with the specified state,
number of bytes transferred during the current transfer and progress since the last time the event was raised.
|
Methods
Name | Description | |||||
---|---|---|---|---|---|---|
![]() ![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | ||||
![]() ![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | ||||
![]() ![]() | GetData |
Gets the actual content of the transferred block. Only available when Smtp.ReportTransferredData is set to
| ||||
![]() ![]() | GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | ||||
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) | ||||
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | ||||
![]() ![]() | ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() ![]() | BytesSinceLastEvent |
Gets the number of bytes transferred during the current transfer since the last time the event was raised.
|
![]() ![]() | BytesTransferred |
Gets the total number of bytes transferred during the current transfer.
|
![]() ![]() | State |
Gets the transfer state.
|
![]() ![]() | TotalBytes |
Gets the approximate number of bytes to be transferred during the current transfer (if available).
|