Class DataTransferEventArgs
Represents a data transfer event.
Inheritance
System.Object
DataTransferEventArgs
Namespace: DNVGL.One.Compute.Core.DataTransfer
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public class DataTransferEventArgs : EventArgs
Constructors
View SourceDataTransferEventArgs(Object, Object, DateTime, DateTime, Exception)
Initializes a new instance of the DataTransferEventArgs class.
Declaration
public DataTransferEventArgs(object source, object destination, DateTime startTime, DateTime endTime, Exception exception = null)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
System.Object | destination | The destination. |
DateTime | startTime | The start time. |
DateTime | endTime | The end time. |
Exception | exception | The exception. |
Properties
View SourceDestination
Gets the instance representation of transfer destination location.
Declaration
public object Destination { get; }
Property Value
Type | Description |
---|---|
System.Object | The destination. |
EndTime
Gets transfer end time.
Declaration
public DateTime EndTime { get; }
Property Value
Type | Description |
---|---|
DateTime | The end time. |
Exception
Gets the exception if the transfer is failed, or null if the transfer is success.
Declaration
public Exception Exception { get; }
Property Value
Type | Description |
---|---|
Exception | The exception. |
Source
Gets the instance representation of transfer source location.
Declaration
public object Source { get; }
Property Value
Type | Description |
---|---|
System.Object | The source. |
StartTime
Gets transfer start time.
Declaration
public DateTime StartTime { get; }
Property Value
Type | Description |
---|---|
DateTime | The start time. |