SubscriptionEventHandlerBaseSessionId Property Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Gets the numeric value of the session used by the Service Manager when it communicates with Content Studio.

Namespace: ContentStudio.Document.Subscription.EventHandler
Assembly: CSSubscriptionEventHandler (in CSSubscriptionEventHandler.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

protected int SessionId { get; }

Property Value

Type: Int32
The session id.
Remarks

Note Note

Note to implementers

You use this session identifier together with the ConnectionId property when you need to make calls into Content Studio from your event handler implementation. Make sure that this session or the group NT Authority\Service has the permissions required by Content Studio.

This property has no valid value until data has been loaded and Service Manager has opened a session to Content Studio.

The following events and overridable metods have access to a valid session identifier.

The Initialized event.
CreateMessage
ReadData(Int32)
ValidateSubscriber(SubscriptionInformation)
ValidateMessage(SubscriptionInformation)
SendMessage(SubscriptionInformation)
The Finished event.
See Also

Reference