Using the .NET client library
To make use of the .NET wrapper, add the engine_client_dotnet5.2.dll library as a reference of your assembly.
To run an application using the wrapper:
1. Copy the following libraries in the directory that contains the compiled .NET assembly that uses them:
engine_client5.2.dll engine_client_dotnet5.2.dll 2. Ensure that the Apama installation’s bin directory is in the PATH environment variable.
To use the log4net implementation of the logging interface, copy log4net.dll as well.
For examples of using the various supported APIs, see the samples\engine_client\DotNetSamples directory. This directory includes several samples, all based on the Java API samples.
Both the 32-bit and 64-bit versions of the engine_client_dotnet5.2.dll library are built to run on the .NET 4 runtime and are tested against the 4.5.1 libraries.
The following .NET API layers use the AppDomain.ProcessExit event handler to run cleanup operations upon exiting the application:
EngineClient EventService ScenarioService As described in
http://msdn.microsoft.com/en-us/library/system.appdomain.processexit.aspx, the total execution time of all
ProcessExit event handlers is limited, just as the total execution time of all finalizers is limited at process shutdown. The default is three seconds.