TryCatch Constructor ()

.NET Framework (current version)
 

Creates a new instance of the TryCatch class.

Namespace:   System.Activities.Statements
Assembly:  System.Activities (in System.Activities.dll)

public TryCatch()

The following code sample demonstrates creating a TransactionScope activity. This example is from the Nesting of TransactionScope within a service sample.

.NET Framework
Available since 4.0
Return to top
Show: