ServicePRO SDK Help

CoreServicesManager..::..GetAnnouncements Method

Gets collection of all the announcements.

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

Syntax


public void GetAnnouncements(
	string userSessionKey,
	bool isBackgroundRefresh,
	Action<ObservableCollection<stcAnnouncement>, Exception> callbackAction
)
Public Sub GetAnnouncements ( _
	userSessionKey As String, _
	isBackgroundRefresh As Boolean, _
	callbackAction As Action(Of ObservableCollection(Of stcAnnouncement), 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.
isBackgroundRefresh
Type: Boolean
Check background refresh.
callbackAction
Type: Action<(Of <(<'ObservableCollection<(Of <(<'stcAnnouncement>)>)>, Exception>)>)>
The callback action.