AsyncConfigBaseThrowIfCanceled Property

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 non-void operations will return some value, which is usually the default value of their return type.
Default value: .


Namespace: KGySoft.Threading
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.2.0
public bool ThrowIfCanceled { get; set; }

Property Value


See Also