RVTDocs.com

TransactWithCentralOptions.SetLockCallback

Method
Description:
Sets or resets a callback object that would allow an external application to change Revit's default behavior of endlessly waiting and repeatedly trying to lock a central model.
Syntax
public void SetLockCallback(
	ICentralLockedCallback lockCallback
)
Parameters
Parameter Type Description
lockCallback ICentralLockedCallback
Return Value
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null