Open sandboxFocus

Class AspNetFrameworkRequestMetadata

The default implementation of LogEventMetadata for incoming legacy ASP.NET requests. This implementation exposes an AspNetFrameworkRequestExpressionModel to the policy configuration file.

Namespace: PostSharp.Patterns.Diagnostics.Adapters.AspNetFramework
Assembly: PostSharp.Patterns.Diagnostics.Adapters.AspNetFramework.dll
Syntax
public class AspNetFrameworkRequestMetadata : AspNetFrameworkRequestMetadata<AspNetFrameworkRequestExpressionModel>

Constructors

Name Description
AspNetFrameworkRequestMetadata()

Initializes a new instance of the AspNetFrameworkRequestMetadata class with the default name. You must not invoke this constructor if you are deriving the class.

AspNetFrameworkRequestMetadata(string)

Initializes a new instance of the AspNetFrameworkRequestMetadata class and specifies the name. Invoke this constructor if you are deriving the class.

Methods

Name Description
GetExpressionModel(object)

Gets the object that must be exposed to the expressions in transaction policies.