Freigeben über


ontimeout property

Gets or sets the method to handle the ontimout event.

 

Syntax

HRESULT value = object.put_ontimeout(VARIANT v);HRESULT value = object.get_ontimeout(VARIANT p);

Property values

Type: VARIANT

the event handler.

Remarks

The ontimeout event occurs if the value in the IHTMLXDomainRequest::timeout property expires before the IHTMLXDomainRequest::onload event occurs.

When the ontimeout event occurs the IHTMLXDomainRequest::responseText property is unavailable and attempts to access it will raise an error.

See also

Reference

IHTMLXDomainRequest

XDomainRequest