|
|
(13 intermediate revisions by 6 users not shown) |
Line 1: |
Line 1: |
| | #REDIRECT [[RecordLockingConflict class#New constructor|New constructor]] |
|
| |
|
| <span class="pageSubtitle"><section begin=dpl_desc/>Create new RecordLockingConflict instance<section end=dpl_desc/></span>
| |
| [[Category:RecordLockingConflict methods|New constructor]] | | [[Category:RecordLockingConflict methods|New constructor]] |
| <p>
| |
| New is a member of the [[RecordLockingConflict class]].
| |
| </p>
| |
|
| |
| 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==
| |
| <p class="syntax">[%rlc =] [%(RecordLockingConflict):] -
| |
| New ( [UserNumber = usernum] -
| |
| [, UserID = userid] -
| |
| [, Filename = fname] ) -
| |
| [, RecordNumber = recnum] )
| |
| </p>
| |
| ===Syntax terms===
| |
| <table class="syntaxTable">
| |
| <tr><th>%rlc</th>
| |
| <td>A reference to an instance of a RecordLockingConflict object.
| |
| </td></tr>
| |
| <tr><th><b>UserNumber=</b>usernum</th>
| |
| <td>This name required parameter specifies the numeric value (''usernum'') to be assigned to the exception object's UserNumber property. Its default value is 0.
| |
| </td></tr>
| |
| <tr><th><b>UserID=</b>userid</th>
| |
| <td>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.
| |
| </td></tr>
| |
| <tr><th><b>Filename=</b>fname</th>
| |
| <td>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.
| |
| </td></tr>
| |
| <tr><th><b>RecordNumber=</b>recnum</th>
| |
| <td>This name required parameter specifies the numeric value (''recnum'') to be assigned to the object's RecordNumber property. Its default value is 0.
| |
|
| |
| </td></tr></table>
| |