ServicePRO SDK Help

CoreServicesManager..::..InitializeSystemAndSession Method

Initializes the system and session.

Namespace:  ServicePRO.Sdk.Windows.Managers
Assembly:  ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)

Syntax


public void InitializeSystemAndSession(
	string cultureName,
	string timeZoneName,
	DateTime ClientNow,
	TimeSpan clientUTCOffset,
	Action<stcSession, Exception> callbackAction
)
Public Sub InitializeSystemAndSession ( _
	cultureName As String, _
	timeZoneName As String, _
	ClientNow As DateTime, _
	clientUTCOffset As TimeSpan, _
	callbackAction As Action(Of stcSession, Exception) _
)

Parameters

cultureName
Type: String
Client culture name in the format laguagecode2-country/regioncode2
timeZoneName
Type: String
Client time zone's standard name
ClientNow
Type: DateTime
The Client local time
clientUTCOffset
Type: TimeSpan
Client UTC offset
callbackAction
Type: Action<(Of <(<'stcSession, Exception>)>)>
Callback action will receive session data