ActivityContext.GetExtension<T> Method

.NET Framework 4.6 and 4.5

Returns an extension of the specified type.

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

public T GetExtension<T>()
where T : class

Type Parameters


The type of extension to retrieve.

Return Value

Type: T
The extension of the specified type if present; otherwise, null.

.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
© 2015 Microsoft