Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Error/Properties/Type: Difference between revisions
Jump to navigation
Jump to search
Animadoria (talk | contribs) (Created automatically by Anima Importer) |
Animadoria (talk | contribs) (Created automatically by Anima Importer) |
||
Line 1: | Line 1: | ||
<!-- Generated @ 08/12/2022 23: | <!-- Generated @ 08/12/2022 23:46:02 +01:00 using Anima's CHM converter based on techref/objectmodel/objects/error/properties/Type.htm --> | ||
{{Protocols/MSNP|section=Activities}} | {{Protocols/MSNP|section=Activities}} | ||
__NOTOC__= <a class="clsStd" href="../index.htm">Error</a>.Type Property = | __NOTOC__= <a class="clsStd" href="../index.htm">Error</a>.Type Property = |
Revision as of 22:46, 12 August 2022
<a class="clsStd" href="../index.htm">Error</a>.Type Property
This property returns a long value representing the type of error that occurred. This property contains data whenever the OnDataError event fires.
VBScript Syntax
external.Error.Type
JavaScript Syntax
window.external.Error.Type
Property Value
A long value representing the type of error that occurred.
JavaScript Example
function Channel_OnDataError() { // Error during SendData; print the error type. var myCode; myCode = window.external.Channel.Error.Type; txtDebugOut.innerHTML="There was a SendData error, code: " + myCode; }
Remarks
This property contains data that should be inspected every time the OnDataError event occurs.