New (RecordLockingConflict constructor)

From m204wiki
Revision as of 20:12, 14 January 2011 by 198.242.244.47 (talk) (Created page with " <span class="pageSubtitle"><section begin=dpl_desc/>Create new RecordLockingConflict instance<section end=dpl_desc/></span> [[Category:RecordLockingConflict methods|New construc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<section begin=dpl_desc/>Create new RecordLockingConflict instance<section end=dpl_desc/>

New is a member of the RecordLockingConflict class.

This constructor generates an instance of an RecordLockingConflict exception. As shown in the syntax that follows, the New method arguments set the values of the class properties that have the corresponding names.

Syntax

[%rlc =] [%(RecordLockingConflict):] - New ( [UserNumber = usernum] - [, UserID = userid] - [, Filename = fname] ) - [, RecordNumber = recnum] )

Syntax terms

%rlc A reference to an instance of a RecordLockingConflict object.
UserNumber=usernum This name required parameter specifies the numeric value (usernum) to be assigned to the exception object's UserNumber property. Its default value is 0.
UserID=userid This name required parameter specifies the longstring value (userid) to be assigned to the object's UserID property. Its default value is a null string.
Filename=fname This name required parameter specifies the longstring value (fname) to be assigned to the object's Filename property. Its default value is a null string.
RecordNumber=recnum This name required parameter specifies the numeric value (recnum) to be assigned to the object's RecordNumber property. Its default value is 0.