ServicePRO SDK Help

RequestServicesManager..::..ValidateDelete Method

Validates before delete a service request or a folder.

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

Syntax


public void ValidateDelete(
	string userSessionKey,
	int requestId,
	bool isFolder,
	Action<bool, string, string, string, Exception> callbackAction
)
Public Sub ValidateDelete ( _
	userSessionKey As String, _
	requestId As Integer, _
	isFolder As Boolean, _
	callbackAction As Action(Of Boolean, String, String, String, 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.
requestId
Type: Int32
The request identifier.
isFolder
Type: Boolean
set to true if deleting a folder.
callbackAction
Type: Action<(Of <(<'Boolean, String, String, String, Exception>)>)>
The callback action.