VB.NET Language in a Nutshell

   
Err.Raise Method

Class

Microsoft.VisualBasic.ErrObject

Syntax

Err.Raise( number, source, description , _ helpfile, helpcontext )

number (required; Long integer)

A numeric identifier of the particular error

source (optional; String)

The name of the object or application responsible for generating the error

description (optional; String)

A useful description of the error

helpfile (optional; String)

The fully qualified path of a Microsoft Windows Help file containing help or reference material about the error

helpcontext (optional; Long)

The context ID within helpfile

Description

Generates a runtime error

Rules at a Glance

Programming Tips and Gotchas

See Also

Err.Clear Method

   

Категории