Difference between revisions of "Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Error/Properties/Type"
Jump to navigation
Jump to search
Animadoria (talk | contribs) (Created automatically by Anima Importer) |
Animadoria (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
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__= | + | __NOTOC__= [[Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Error/Index|Error]].Type Property = |
This property returns a long value representing the type of error that occurred. This property contains data whenever the <span class="clsEvent">OnDataError</span> event fires. | This property returns a long value representing the type of error that occurred. 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> | ||
− | Property Value | + | === Property Value === |
A long value representing the type of error that occurred. | A long value representing the type of error that occurred. | ||
Line 35: | Line 35: | ||
txtDebugOut.innerHTML="There was a SendData error, code: " + myCode; | txtDebugOut.innerHTML="There was a SendData error, code: " + myCode; | ||
− | } | + | }</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:50, 13 August 2022
Error.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.