ServiceProxyTChannelExecuteTResult(FuncTChannel, TResult) Method |
Executes an operation as the user specified in the factory, and returns the result.
Namespace: Scanjour.Workflow4.BaseAssembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.5.0.0 (24.5.0.0)
Syntaxpublic TResult Execute<TResult>(
Func<TChannel, TResult> operation
)
Public Function Execute(Of TResult) (
operation As Func(Of TChannel, TResult)
) As TResult
public:
generic<typename TResult>
virtual TResult Execute(
Func<TChannel, TResult>^ operation
) sealed
abstract Execute :
operation : Func<'TChannel, 'TResult> -> 'TResult
override Execute :
operation : Func<'TChannel, 'TResult> -> 'TResult
Parameters
- operation FuncTChannel, TResult
- The operation to perform
Type Parameters
- TResult
- Result of operation
Return Value
TResultThe result of the operation
Implements
IServiceProxyTChannelExecuteTResult(FuncTChannel, TResult)
See Also