ServiceProviderResult class

Version: 10.3

The following table describes the properties of the ServiceProviderResult class:

Name

Description

Properties

Key/value property collection. You can use it as an extensibility method for returning extra request parameters from the Connect service layer.

If these are to be returned, they are defined by the ECS implementation.

Note

It is best practice to use strongly typed parameters by extending the ServiceProviderRequest parameter on every call as opposed to using the weakly typed approach of using the Properties collection

Success

Returns True if the call is successful; otherwise False is returned.

When False is returned, a system message explains what has failed.

SystemMessages

Returned when the call to the service layer fails.

The ECS and base Connect implementations are responsible for populating system messages. Sitecore specific errors can result in an uncaught exception depending on the ECS implementation.

Do you have some feedback for us?

If you have suggestions for improving this article,