ActivityContext.GetExtension<T> Method ()

.NET Framework (current version)

Returns an extension of the specified type.

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

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

Return Value

Type: T

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

Type Parameters


The type of extension to retrieve.

.NET Framework
Available since 4.0
Return to top