PostSharp / / API Reference / Post­Sharp.​Patterns.​Diagnostics / Log­Activity<TActivity­Description> / Set­Result

Method SetResult

SetResult<TResult>(TResult, in CloseActivityOptions)

Declaration
public void SetResult<TResult>(TResult result, in CloseActivityOptions options = null)
Parameters
Type Name Description
TResult result
CloseActivityOptions options
Type Parameters
Name Description
TResult

SetResult<TResult>(TResult, in CloseActivityOptions, ref CallerInfo)

Declaration
public void SetResult<TResult>(TResult result, in CloseActivityOptions options, ref CallerInfo callerInfo)
Parameters
Type Name Description
TResult result
CloseActivityOptions options
CallerInfo callerInfo
Type Parameters
Name Description
TResult