Click or drag to resize

BCScriptCallableObject Class

Represents a COM object that can be invoked from a BC Meridian VBScript.
Inheritance Hierarchy
SystemObject
  BlueCieloECM.InnoCielo.Meridian.ServerBCScriptCallableObject

Namespace:  BlueCieloECM.InnoCielo.Meridian.Server
Assembly:  BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 4.0.0.0 (4.0.111.0)
Syntax
[ComVisibleAttribute(true)]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[GuidAttribute("0D814647-EF0A-3FBE-A3CC-8E94DA67FA17")]
public abstract class BCScriptCallableObject : IDisposable

The BCScriptCallableObject type exposes the following members.

Constructors
  NameDescription
Protected methodBCScriptCallableObject
Initializes a new instance of the BCScriptCallableObject class.
Top
Properties
  NameDescription
Public propertyIsDisposed
Gets a value indicating whether the object has been disposed of.
Public propertyRepository
Gets the current transaction object the instance was initialized with.
Public propertyServices
Gets the client application context the instance was initialized with.
Top
Methods
  NameDescription
Public methodDispose
Releases the object explicitly.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnContextInitialize
Called when the object is being initialized with a client application context.
Protected methodOnDispose
The method is called on the Dispose method call. Derived classes should override the method to perform custom disposing.
Protected methodOnInitialize
Called when the object is being initialized with a repository.
Protected methodThrowIfDisposed
Throws the ObjectDisposedException exception if the object has been disposed.
Public methodToString (Inherited from Object.)
Top
Remarks

This class implements the IAMCommandSetInitialize interface defined in BlueCieloECM.AMEdm PIA. The interface enables creation of a user-defined COM object that can be invoked from a BC Meridian VBScript.

To define an object that can be invoked from a VBScript, you should inherit from this class, make the derived class visible to COM (ComVisibleAttribute) and specify the ProgID of the class (ProgIdAttribute).

Before calling a method of the COM object from a BC Meridian VBScript you should create it with the AMCreateObject function.

Use the Repository property to get the current transaction object the instance was initialized with.

To explicitly delete/release the object, call the Dispose method.

See Also