ServicePRO SDK Help

ManageObjectsServicesManager..::..GetProblemTypes Method

Gets the collection of category types.

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

Syntax


public void GetProblemTypes(
	string sessionKey,
	clsEnumeration..::..CategoryView hsCategoryView,
	bool isNeedCategoryIcons,
	Action<List<stcListItem>, ObservableCollection<stcProblemType>, Exception> callbackAction
)
Public Sub GetProblemTypes ( _
	sessionKey As String, _
	hsCategoryView As clsEnumeration..::..CategoryView, _
	isNeedCategoryIcons As Boolean, _
	callbackAction As Action(Of List(Of stcListItem), ObservableCollection(Of stcProblemType), 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.
hsCategoryView
Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..CategoryView
The category view.
isNeedCategoryIcons
Type: Boolean
set to true to get standard category icons list.
callbackAction
Type: Action<(Of <(<'List<(Of <(<'stcListItem>)>)>, ObservableCollection<(Of <(<'stcProblemType>)>)>, Exception>)>)>
The callback action.