Platform Symphony .NET API Reference - Version 4.1
ServiceContext Class
NamespacesPlatform.Symphony.SoamServiceContext
Provides functionality that the service will require throughout its lifetime.
Declaration Syntax
C#
public sealed class ServiceContext
Members
All MembersProperties



IconMemberDescription
ApplicationName
Gets the name of the application.

ConsumerId
Gets the consumer ID.

ControlCode
Sets a service control code for service instance manager.

DeployDirectory
Gets the deployment directory.

LastInterruptEvent
Gets the current interrupt event.

LogDirectory
Gets the log directory.

ServiceName
Gets the service name.

Remarks
This object will be passed to a service instance when it is created. The service instance may choose to cache a reference to this object and call on it at anytime it requires.
Inheritance Hierarchy
Object
ServiceContext
See Also
[ServiceContainer.onCreateService]

Assembly: Platform.Symphony.Soam.Net (Module: Platform.Symphony.Soam.Net) Version: 4.1.0.0