GetErrorString Method

The GetErrorString method translates an error code into a human readable description. 

Syntax

object.GetErrorString(ErrorCode)

The GetErrorString method syntax has these parts:

Part
Description
object An object expression that evaluates to the EasyDial control.

 

Return Values

On success, the method returns a string that is a description of the error code.

On failure, the method returns an empty string if a description of the error is not available.

Remarks

You can use this method to translate into a description string the error code returned by the Dial method, the HangUp method, the Error property, and the OnConnecting event handler.

 
Copyright © 2000-2001 Zhenyang Zhu
All rights reserved.