reason Property

Internet Development Index

Sets or retrieves the result of the data transfer for a data source object.

Syntax

event.reason [ = iReason ]

Possible Values

iReasonInteger that specifies or receives one of the following values.
0Data transmitted successfully.
1Data transfer aborted.
2Data transferred in error.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

The property is read-only in Microsoft® Internet Explorer 4.0, and read/write in Internet Explorer 5 and later.

The reason property specifies the state of completion of the data transfer.

Standards Information

There is no public standard that applies to this property.

Applies To

event