static public method ErrorEvent.create

Brief

Constructs and returns a new instance of the class with the provided name, event date, and error message

Declaration

protojavascriptjavacsharp
public static create(name : string, eventDate : datetime, errorMessage : string) : ErrorEvent

Parameters
name

A string that represents the name of the object instance being created

eventDate

The event date

errorMessage

A string represents the event message

Returns

The method returns an instance of ErrorEvent class with the provided name, event date, and error message

Details

See also: ErrorEvent

Declared in ErrorEvent

back