IEnvironment Interface

The execution environment interface.

Definition

Namespace: MFiles.VAF.Common
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public interface IEnvironment

Properties

ActivityID The activity ID for the current event call. Can be used with event tracking framework.
CurrentTransactionID The current transaction id. Represents either real transaction or enlisting DB transaction.
CurrentUserID The current (author) user id for the current event.
CurrentUserSessionInfo The session info that represents the current (invoker) user session.
DisplayID The handled object or value list item display id. Relevant only for events that handle objects of value list items.
MasterTransactionID The master (real) DB transaction id.
ObjVer Object version identifier for current event. Set if the event is associated with an object version.
ParentTransactionID Parent transaction id. Set with enlisting transaction only.
SavepointVariables  
TransactionCache Accessor for the transaction cache.
Vault Current vault object. This vault object is bound with current DB transaction.
VaultSharedVariables Accessor for the shared variabled.

Methods

GetObjectClass The object class for current event. Might need to fetch the id from MFServer.

See Also