ActivityMetadata.RequireExtension<T> Method ()

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: