M-Files UI Extensibility Framework
OnUndoObjectCheckout Event
M-Files UI Extensibility Framework > Events > OnUndoObjectCheckout Event
Description
Triggered when the undoing the checkout of a vault object is requested. This event occurs before the request is passed for M-Files Server.
https://developer.m-files.com/APIs/COM-API/Reference/
Parameters

objVer : IObjVer [ in ]

Identifies the operation target object version.

Return Type

The return type can be one of the types as follows:

Object

Callback object to be activated after the operation. Callback methods:

OnSuccess Method [ optional ]

Called when the operation is successfully performed. The call receives parameters as follows:

objectVersion : IObjectVersion [ in ]

The restored lastest visible object version.

OnError Method [ optional ]

Called when the operation failed. The call receives parameters as follows:

errorCode : Long [ in ]

The error code (HRESULT).

errorMessage : String [ in ]

The error message.

errorStack : String [ in ]

The call stack that identifies the error source in the program code.

Finally Method [ optional ]

Called after the operation was performed regardless of the operation success or failure.

Boolean

False to prevent the operation.

Null

Prevents the operation.

Remarks

The OnUndoObjectCheckouts Event is triggered, too.

Supported in M-Files 9.0.3372.6 and newer.

See Also