다음을 통해 공유


IExecutionContext Interface

Represents an execution context that is used to track and modify the behavior of operations against the external system, also allowing direct communication between a custom connector and the application.

Namespace:  Microsoft.BusinessData.Runtime
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Public Interface IExecutionContext _
    Inherits IDisposable
'Usage
Dim instance As IExecutionContext
public interface IExecutionContext : IDisposable

Remarks

The execution context is created by a metadata catalog and is associated with the thread it is created on. If a thread has an execution context, all operations against the external system will be tracked. This will cause an additional memory requirement for each operation. Therefore, execution context should not be used longer than it is necessary.

Warning

The execution context may hold onto other objects that are associated with open connections to the external system. To reclaim resources used by these objects, execution context must be disposed after use.

See Also

Reference

IExecutionContext Members

Microsoft.BusinessData.Runtime Namespace

CreateExecutionContext()