Export (0) Print
Expand All

DataflowBlockOptions.NameFormat Property

.NET Framework 4.5

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

Namespace:  System.Threading.Tasks.Dataflow
Assembly:  System.Threading.Tasks.Dataflow (in System.Threading.Tasks.Dataflow.dll)

public string NameFormat { get; set; }

Property Value

Type: System.String
The format string to use when a block is queried for its name.

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.

.NET Framework

Supported in: 4.5

Portable Class Library

Supported in: Portable Class Library
Show:
© 2015 Microsoft