Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Error/Properties/Type
<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.