Service ServiceInterface  TryExecute ResultType  Method Kentico 8.1 API Reference
Attempts to execute the given lambda expression over the service instance. If service instance is not available, does not execute and returns default value of ReturnType

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

lambda
Type: OnlineSystem Func ServiceInterface, ResultType 

Return Value

Type: ResultType
See Also