Activity.ForceDefaultIdFormat Property

Definition

Gets or sets a value that detrmines if the DefaultIdFormat is always used to define the default ID format.

C#
public static bool ForceDefaultIdFormat { get; set; }

Property Value

true to always use the DefaultIdFormat; otherwise, false.

Remarks

Normally if the ParentId is defined, its format determines the format used by the current Activity. However, if ForceDefaultFormat is set to true, the ID format is always defined by the DefaultIdFormat property even if the ParentId is defined and the parent has a different format.

Applies to

Tuote Versiot
.NET Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)