PostSharp 6.6 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Log­Activity(TActivity­Description) Structure / Log­Activity(TActivity­Description) Methods / Log­Activity(TActivity­Description).​Set­Result(TResult) Method

LogActivity<TActivityDescription>.SetResult<TResult> Method

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.6.14.0 (6.6.14.0)
Syntax
C#
public void SetResult<TResult>(
	TResult result,
	 in CloseActivityOptions options = null
)

Parameters

result
Type: TResult
options (Optional)
Type: PostSharp.Patterns.Diagnostics.CloseActivityOptions

Type Parameters

TResult
See Also