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.ThreadingAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
public bool ThrowIfCanceled { get; set; }
Public Property ThrowIfCanceled As Boolean
Get
Set
public:
property bool ThrowIfCanceled {
bool get ();
void set (bool value);
}
member ThrowIfCanceled : bool with get, set
Property Value
Boolean