ActivityMetadata.RequireExtension<T> Method ()

.NET Framework (current version)
 

Specifies that the activity requires an extension of the specified generic type at runtime.

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

public void RequireExtension<T>()
where T : class

Type Parameters

T

The type of the extension.

If the host fails to provide an extension of the specified type, validation fails.

.NET Framework
Available since 4.0
Return to top
Show: