New (RecordLockingConflict constructor): Difference between revisions
m (1 revision) |
m (1 revision) |
||
Line 1: | Line 1: | ||
{{Template:RecordLockingConflict:New subtitle}} | |||
New | |||
This constructor generates an instance of an RecordLockingConflict exception. | This constructor generates an instance of an RecordLockingConflict exception. | ||
Line 11: | Line 6: | ||
corresponding names. | corresponding names. | ||
==Syntax== | ==Syntax== | ||
{{Template:RecordLockingConflict:New syntax}} | |||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
Line 35: | Line 25: | ||
</td></tr></table> | </td></tr></table> | ||
==See also== | |||
{{Template:RecordLockingConflict:New footer}} |
Revision as of 20:42, 25 March 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 that have the corresponding names.
Syntax
%recordLockingConflict = [%(RecordLockingConflict):]New( Filename= string, - RecordNumber= number, - UserNumber= number, - UserID= string, - [LockingUserNumber= number], - [LockTimeMilliseconds= number], - [ConflictTimeMilliseconds= number], - [ConflictingLockStrength= lockStrength], - [ConflictingRecordLockType= recordLockType])
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. |