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) |
(No difference)
|
Revision as of 22:43, 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.