New (RecordLockingConflict constructor): Difference between revisions
m (isn't there always a %) |
m (1 revision) |
(No difference)
|
Revision as of 19:37, 4 May 2011
Create a new RecordLockingConflict object (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 having the corresponding names. Each argument to New sets the value of the corresponding property of the newly constructed RecordLockingConflict object.
Syntax
%recordLockingConflict = [%(RecordLockingConflict):]New( Filename= string, - RecordNumber= number, - UserNumber= number, - UserID= string, - [LockingUserNumber= number], - [LockTimeMilliseconds= number], - [ConflictTimeMilliseconds= number], - [ConflictingLockStrength= lockStrength], - [ConflictingRecordLockType= recordLockType])
Syntax terms
%recordLockingConflict | A reference to an instance of a RecordLockingConflict object. |
---|---|
%(RecordLockingConflict) | The class name in parentheses denotes a shared method. |
Filename | This name required parameter specifies the longstring value (filename) to be assigned to the object's Filename property. Its default value is a null string. |
RecordNumber | This Name-Required parameter specifies the numeric value (recnum) to be assigned to the object's RecordNumber property. Its default value is 0. |
UserNumber | 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 | 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. |