ServicePRO SDK Help

ManageObjectsServicesManager..::..CheckIfRequestInFolderWithThisWaitState Method

Checks whether exists any request with specified waiting status in this queue.

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

Syntax


public void CheckIfRequestInFolderWithThisWaitState(
	string sessionKey,
	int FolderId,
	clsEnumeration..::..hsWaitState WaitState,
	Action<bool, Exception> callbackAction
)
Public Sub CheckIfRequestInFolderWithThisWaitState ( _
	sessionKey As String, _
	FolderId As Integer, _
	WaitState As clsEnumeration..::..hsWaitState, _
	callbackAction As Action(Of Boolean, Exception) _
)

Parameters

sessionKey
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.
FolderId
Type: Int32
The folder identifier.
WaitState
Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsWaitState
Request waiting state.
callbackAction
Type: Action<(Of <(<'Boolean, Exception>)>)>
The callback action.