共用方式為


LoggerContext.PropertyBag Property

Definition

Gets or sets an IDictionary<TKey,TValue> that enables custom extensibility scenarios.

public System.Collections.Generic.IDictionary<string,object> PropertyBag { get; set; }
member this.PropertyBag : System.Collections.Generic.IDictionary<string, obj> with get, set
Public Property PropertyBag As IDictionary(Of String, Object)

Property Value

Applies to