Edit

Share via


IMemberCreationService Interface

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

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.

public interface class IMemberCreationService
public interface IMemberCreationService
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public interface IMemberCreationService
type IMemberCreationService = interface
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type IMemberCreationService = interface
Public Interface IMemberCreationService
Attributes

Remarks

Note

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

Methods

CreateEvent(String, String, Type, AttributeInfo[], Boolean)

Creates an event on the specified class by using the specified event name, event type and attributes.

CreateField(String, String, Type, Type[], MemberAttributes, CodeSnippetExpression, Boolean)

Creates a field on the specified class by using the specified field name, field type, parameter types, attributes and literal initialization expression.

CreateProperty(String, String, Type, AttributeInfo[], Boolean, Boolean, Boolean, Type, Boolean)

Creates a property on the specified class by using the specified property name, property type and attributes.

RemoveEvent(String, String, Type)

Removes the specified event from the specified class.

RemoveProperty(String, String, Type)

Removes the specified property from the specified class.

ShowCode()

Displays code for the new member on a workflow design surface.

ShowCode(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.

UpdateBaseType(String, Type)

Updates the base type to associate with the specified class.

UpdateEvent(String, String, Type, String, Type, AttributeInfo[], Boolean, Boolean)

Sets a new name and type to an existing event on the specified class.

UpdateProperty(String, String, Type, String, Type, AttributeInfo[], Boolean, Boolean)

Sets a new name and type to a property on the specified class.

UpdateTypeName(String, String)

Updates the name of the specified class.

Applies to