CodeActivity<TResult>.Implementation Property

Not supported.

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

[IgnoreDataMemberAttribute]
protected override sealed Func<Activity> Implementation { get; set; }

Property Value

Type: System.Func<Activity>
Always returns null.

Setting a value for this property returns a NotSupportedException. CodeActivity<TResult> does not allow defining the execution logic as an activity. Instead the execution logic must be defined in the Execute method.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft