%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
vdErrorDelegate Delegate
See Also  Example
vdWebLibrary Namespace : vdErrorDelegate Delegate
sender
The object the error in which the error was caused.
ErrCategoryId
The id of the Error.
statusId
The error's status id. This is a code that can be used to identify the origin of the error.
info
Information about the circumstances that caused the error.
Represents a method that will handle the vdError event.

Syntax

JScript 
public delegate vdErrorDelegate( 
   sender : Object,
   ErrCategoryId : int,
   statusId : int,
   info : String
)

Parameters

sender
The object the error in which the error was caused.
ErrCategoryId
The id of the Error.
statusId
The error's status id. This is a code that can be used to identify the origin of the error.
info
Information about the circumstances that caused the error.

Example

C#Copy Code
  
function _vdError(Sender, errorCatId, statusId, info) { 
    //Code to do 

 
function fn(){ 
    vdcanvas.vdError = _vdError; 
}

See Also