Gets or sets the activity that is scheduled when the TransactionScope executes.
Assembly: System.Activities (in System.Activities.dll)
This property is read-only at runtime. If the value is set at runtime an InvalidOperationException is thrown.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2