Export (0) Print
Expand All

TryCatch Constructor

.NET Framework 4.6 and 4.5

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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft