Show / Hide Table of Contents

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 Source

DataTransferEventArgs(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 Source

Destination

Gets the instance representation of transfer destination location.

Declaration
public object Destination { get; }
Property Value
Type Description
System.Object

The destination.

View Source

EndTime

Gets transfer end time.

Declaration
public DateTime EndTime { get; }
Property Value
Type Description
DateTime

The end time.

View Source

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.

View Source

Source

Gets the instance representation of transfer source location.

Declaration
public object Source { get; }
Property Value
Type Description
System.Object

The source.

View Source

StartTime

Gets transfer start time.

Declaration
public DateTime StartTime { get; }
Property Value
Type Description
DateTime

The start time.

  • View Source
In This Article
Back to top Copyright © DNV AS. All rights reserved.