DataflowBlockOptions.NameFormat Property

Definition

Gets or sets the format string to use when a block is queried for its name.

C#
public string NameFormat { get; set; }

Property Value

The format string to use when a block is queried for its name.

Remarks

The name format may contain up to two format items. {0} will be substituted with the block's name. {1} will be substituted with the block's Id, as is returned from the block's Completion.Id property.

Applies to

Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, 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), 2.1 (package-provided)
UWP 10.0