ServicePRO SDK Help

RequestServicesManager..::..ApplyLock Method

Lock a service request(for update).

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

Syntax


public void ApplyLock(
	string userSessionKey,
	stcLockAdvisory requestLock,
	Action<Concurrency, Exception> callbackAction
)
Public Sub ApplyLock ( _
	userSessionKey As String, _
	requestLock As stcLockAdvisory, _
	callbackAction As Action(Of Concurrency, 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.
requestLock
Type: HelpSTAR.PCL.Common..::..stcLockAdvisory
The request lock.
callbackAction
Type: Action<(Of <(<'Concurrency, Exception>)>)>
The callback action.