DOFInterfaceBuilderaddException Method OpenDOF Object Access Library
Add an Exception to the Interface.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public DOFInterfaceBuilder addException(
	int itemID,
	params DOFType[] parameters
)

Parameters

itemID
Type: SystemInt32
A number from 0 - 32,767 that identifies this interface item. This must be unique within a DOFInterface (no other Typedef, Property, Method, Event, or Exception may use the same ID).
parameters
Type: org.opendof.core.oalDOFType
The Parameters for this Exception. May be omitted to indicate no parameters.

Return Value

Type: DOFInterfaceBuilder
The builder.
Remarks

Add an Exception to the Interface.
See Also

Reference