AsyncConfigBaseThrowIfCanceled Property

KGy SOFT Drawing Libraries Help
Gets or sets whether an OperationCanceledException should be thrown when ending or awaiting a canceled async operation. If the value of this property is , then canceled operations with a return value will return the default value of their return type.
Default value: .

Namespace:  KGySoft.Drawing
Assembly:  KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 5.3.0

public bool ThrowIfCanceled { get; set; }

Property Value

Type: Boolean
See Also