Dela via


TagNameAttribute(String) Constructor

Definition

Initializes a new instance of the TagNameAttribute class.

public:
 TagNameAttribute(System::String ^ name);
public TagNameAttribute (string name);
new Microsoft.Extensions.Logging.TagNameAttribute : string -> Microsoft.Extensions.Logging.TagNameAttribute
Public Sub New (name As String)

Parameters

name
String

The tag name to use when logging the annotated parameter or property.

Applies to