Implementierung Samples => System.Threading.Lock.Scope / Lock(this) Beinhaltet verschiedene Methode zu Lock-Funktionen. Sicherstellen, dass kein Code parallel ausgeführt wird, der nicht so ausgeführt werden darf.
More...
|
| async Task< string > | _GetAmountFromAccount_v1000 (int _TaskNumber) |
| | ASYNC: _GetAmountFromAccount_v1000 => tsACSharpVersion_CSharp13_ThreadingLock_Click::cbOption01.Checked (this-Verwendung).
|
| async Task< string > | _GetAmountFromAccount_v1100 (int _TaskNumber) |
| | ASYNC: _GetAmountFromAccount_v1100 OHNE lock(this) => tsACSharpVersion_CSharp13_ThreadingLock_Click::cbOption02.Checked.
|
| Task< string > | _GetAmountFromAccount_v1200 (int _TaskNumber) |
| | _GetAmountFromAccount_v1000 => tsACSharpVersion_CSharp13_ThreadingLock_Click::
|
|
| static string | _GetAmountFromAccount_v3000 (int _LockVersionType, int _TaskNumber) |
| | _GetAmountFromAccount_v3000 => tsACSharpVersion_CSharp13_ThreadingLock_Click::
|
|
| System.Threading.Lock | _Lock = new() |
| | System.Threading.Lock Instance.
|
|
| static System.Threading.Lock | _StaticLock = new() |
| | System.Threading.Lock static.
|
Implementierung Samples => System.Threading.Lock.Scope / Lock(this) Beinhaltet verschiedene Methode zu Lock-Funktionen. Sicherstellen, dass kein Code parallel ausgeführt wird, der nicht so ausgeführt werden darf.
◆ _GetAmountFromAccount_v1000()
| async Task< string > fho.frm.net.Microsoft_DotNetSamples.ClassCSharpVersion.ThreadingLock._GetAmountFromAccount_v1000 |
( |
int | _TaskNumber | ) |
|
ASYNC: _GetAmountFromAccount_v1000 => tsACSharpVersion_CSharp13_ThreadingLock_Click::cbOption01.Checked (this-Verwendung).
- Returns
◆ _GetAmountFromAccount_v1100()
| async Task< string > fho.frm.net.Microsoft_DotNetSamples.ClassCSharpVersion.ThreadingLock._GetAmountFromAccount_v1100 |
( |
int | _TaskNumber | ) |
|
ASYNC: _GetAmountFromAccount_v1100 OHNE lock(this) => tsACSharpVersion_CSharp13_ThreadingLock_Click::cbOption02.Checked.
- Returns
◆ _GetAmountFromAccount_v1200()
| Task< string > fho.frm.net.Microsoft_DotNetSamples.ClassCSharpVersion.ThreadingLock._GetAmountFromAccount_v1200 |
( |
int | _TaskNumber | ) |
|
_GetAmountFromAccount_v1000 => tsACSharpVersion_CSharp13_ThreadingLock_Click::
- Parameters
-
- Returns
◆ _GetAmountFromAccount_v3000()
| string fho.frm.net.Microsoft_DotNetSamples.ClassCSharpVersion.ThreadingLock._GetAmountFromAccount_v3000 |
( |
int | _LockVersionType, |
|
|
int | _TaskNumber ) |
|
static |
_GetAmountFromAccount_v3000 => tsACSharpVersion_CSharp13_ThreadingLock_Click::
- cbOption08.Checked
- cbOption09.Checked
- cbOption10.Checked
- Parameters
-
| _LockVersionType | |
| _TaskNumber | |
- Returns
cbOption08.Checked: Standard lock(this)
cbOption09.Checked: neuer lock.Scope
cbOption10.Checked: nichts
◆ _Lock
| System.Threading.Lock fho.frm.net.Microsoft_DotNetSamples.ClassCSharpVersion.ThreadingLock._Lock = new() |
|
private |
System.Threading.Lock Instance.
◆ _StaticLock
| System.Threading.Lock fho.frm.net.Microsoft_DotNetSamples.ClassCSharpVersion.ThreadingLock._StaticLock = new() |
|
staticprivate |
System.Threading.Lock static.
The documentation for this class was generated from the following file:
- U:/00000000_global_projects/000_DotNetxx/fho.frm.net.Microsoft_DotNetSamples/fho.frm.net.Microsoft_DotNetSamples/ClassCSharpVersion/ClassCSharp13.cs