Export (0) Print
Expand All

IMemberCreationService Interface

Note: This API is now obsolete.

Defines methods to dynamically create, update and remove code elements for a type at design time. Methods are also provided that allow you to display code at design time.

Namespace:  System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public interface IMemberCreationService

The IMemberCreationService type exposes the following members.

  NameDescription
Public methodCreateEventCreates an event on the specified class by using the specified event name, event type and attributes.
Public methodCreateFieldCreates a field on the specified class by using the specified field name, field type, parameter types, attributes and literal initialization expression.
Public methodCreatePropertyCreates a property on the specified class by using the specified property name, property type and attributes.
Public methodRemoveEventRemoves the specified event from the specified class.
Public methodRemovePropertyRemoves the specified property from the specified class.
Public methodShowCode()Displays code for the new member on a workflow design surface.
Public methodShowCode(Activity, String, Type)Displays code for the new member on a workflow design surface by using the specified Activity, the specified method and the specified delegate type.
Public methodUpdateBaseTypeUpdates the base type to associate with the specified class.
Public methodUpdateEventSets a new name and type to an existing event on the specified class.
Public methodUpdatePropertySets a new name and type to a property on the specified class.
Public methodUpdateTypeNameUpdates the name of the specified class.
Top

NoteNote

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

.NET Framework

Supported in: 4, 3.5, 3.0
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft