ServicePRO SDK Help

CoreServicesManager..::..GetSession Method

Gets the session structure data.

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

Syntax


public void GetSession(
	string userSessionKey,
	Action<stcSession, Exception> callbackAction
)
Public Sub GetSession ( _
	userSessionKey As String, _
	callbackAction As Action(Of stcSession, Exception) _
)

Parameters

userSessionKey
Type: String
User’s Session Key.
Key property of the User Session Object of type stcSession.
The User Session has to be established by making a call to InitializeSystemAndSession() method in CoreServicesManager class as a first step with using ServicePRO SDK.
callbackAction
Type: Action<(Of <(<'stcSession, Exception>)>)>
The callback action.