PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / Log­Event­Metadata(TExpression­Model) Class / Log­Event­Metadata(TExpression­Model) Constructor

LogEventMetadata<TExpressionModel> Constructor

Initializes a new LogEventMetadata.

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
protected LogEventMetadata(
	string name
)

Parameters

name
Type: System.String
The name of the current LogEventMetadata. This property may be undefined. It must be defined when the LogEventData must be available for evaluation from transaction policy expressions. In this case, the type of expression model (i.e. the generic parameter of LogEventMetadata<TExpressionModel>) must be identical for identical values of the Name property.
See Also