Page 49 - CSharp/C#
P. 49
Examples 821
Pseudocode for async/await keywords 821
Disabling synchronization context 821
Why SynchronizationContext is so important? 822
Chapter 145: System.DirectoryServices.Protocols.LdapConnection 824
Examples 824
Authenticated SSL LDAP connection, SSL cert does not match reverse DNS 824
Super Simple anonymous LDAP 825
Chapter 146: System.Management.Automation 826
Remarks 826
Examples 826
Invoke simple synchronous pipeline 826
Chapter 147: T4 Code Generation 828
Syntax 828
Examples 828
Runtime Code Generation 828
Chapter 148: Task Parallel Library 829
Examples 829
Parallel.ForEach 829
Parallel.For 829
Parallel.Invoke 830
An async cancellable polling Task that waits between iterations 830
A cancellable polling Task using CancellationTokenSource 831
Async version of PingUrl 832
Chapter 149: Task Parallel Library (TPL) Dataflow Constructs 833
Examples 833
JoinBlock 833
BroadcastBlock 834
WriteOnceBlock 835
BatchedJoinBlock 836
TransformBlock 836
ActionBlock 837

