Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Error/Properties/Data: Difference between revisions
Jump to navigation
Jump to search
Animadoria (talk | contribs) (Created automatically by Anima Importer) |
Animadoria (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- Generated @ 08/12/2022 23: | <!-- Generated @ 08/12/2022 23:46:03 +01:00 using Anima's CHM converter based on techref/objectmodel/objects/error/properties/Data.htm --> | ||
{{Protocols/MSNP|section=Activities}} | {{Protocols/MSNP|section=Activities}} | ||
__NOTOC__= | __NOTOC__= [[Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Error/Index|Error]].Data Property = | ||
This property returns the data of the transaction that failed. This property contains data whenever the <span class="clsEvent">OnDataError</span> event fires. | This property returns the data of the transaction that failed. This property contains data whenever the <span class="clsEvent">OnDataError</span> event fires. | ||
VBScript Syntax | === VBScript Syntax === | ||
<div class="clsCodeIndent"> | <div class="clsCodeIndent"> | ||
Line 13: | Line 13: | ||
</div> | </div> | ||
JavaScript Syntax | === JavaScript Syntax === | ||
<div class="clsCodeIndent"> | <div class="clsCodeIndent"> | ||
Line 20: | Line 20: | ||
</div> | </div> | ||
Parameter Value | === Parameter Value === | ||
A variant containing the data of the transaction that failed during <span class="clsEvent">SendData</span>. | A variant containing the data of the transaction that failed during <span class="clsEvent">SendData</span>. | ||
JavaScript Example | === JavaScript Example === | ||
<div class="clsCodeIndent"> | <div class="clsCodeIndent"> | ||
Line 35: | Line 35: | ||
txtDebugOut.innerHTML="There was a SendData error, the data that was saved: " + myRetry; | txtDebugOut.innerHTML="There was a SendData error, the data that was saved: " + myRetry; | ||
} | }</pre> | ||
</div> | </div> | ||
Remarks | === Remarks === | ||
This property contains data that should be inspected every time the <span class="clsEvent">OnDataError</span> event occurs. | This property contains data that should be inspected every time the <span class="clsEvent">OnDataError</span> event occurs. |
Latest revision as of 01:52, 13 August 2022
Error.Data Property
This property returns the data of the transaction that failed. This property contains data whenever the OnDataError event fires.
VBScript Syntax
external.Error.Data
JavaScript Syntax
window.external.Error.Data
Parameter Value
A variant containing the data of the transaction that failed during SendData.
JavaScript Example
function Channel_OnDataError() { // Error during SendData; print the data that was not sent. var myRetry; myRetry = window.external.Channel.Error.Data; txtDebugOut.innerHTML="There was a SendData error, the data that was saved: " + myRetry; }
Remarks
This property contains data that should be inspected every time the OnDataError event occurs.