Name

Err.Raise Method — Microsoft.VisualBasic.ErrObject

Synopsis

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.

Get VB.NET Language Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.